settings_php_set: Fix wrong variable name
This commit is contained in:
parent
076adfa54d
commit
8b7fe41309
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ chmod u+w web/sites/default/settings.php
|
||||||
|
|
||||||
// decode json values
|
// decode json values
|
||||||
$value = @json_decode($jvalue);
|
$value = @json_decode($jvalue);
|
||||||
if ($data === null && json_last_error() !== JSON_ERROR_NONE) {
|
if ($value === null && json_last_error() !== JSON_ERROR_NONE) {
|
||||||
echo "Invalid JSON, cannot update settings.php. \n";
|
echo "Invalid JSON, cannot update settings.php. \n";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue