Kaydet (Commit) 072aaa38 authored tarafından mertcelen's avatar mertcelen

Fix for sandbox errors.

üst ff546165
...@@ -79,7 +79,7 @@ class MainController extends Controller ...@@ -79,7 +79,7 @@ class MainController extends Controller
} else { } else {
// Let's check output is json or not. // Let's check output is json or not.
$json = json_decode($output, true); $json = json_decode($output, true);
if (json_last_error() == JSON_ERROR_NONE) { if (json_last_error() == JSON_ERROR_NONE && is_array($json)) {
$output = view('l.alert', [ $output = view('l.alert', [
"title" => extension()->name, "title" => extension()->name,
"message" => array_key_exists("message", $json) "message" => array_key_exists("message", $json)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment