Fix undefined variables messages

This commit is contained in:
Hypolite Petovan 2017-12-01 08:32:21 -05:00
parent c9c103bdd7
commit 58ac3532b7
2 changed files with 10 additions and 7 deletions

View file

@ -159,7 +159,7 @@ class Config
// manage array value
$dbvalue = (is_array($value) ? serialize($value) : $dbvalue);
dba::update('config', array('v' => $dbvalue), array('cat' => $family, 'k' => $key), true);
$ret = dba::update('config', array('v' => $dbvalue), array('cat' => $family, 'k' => $key), true);
if ($ret) {
self::$in_db[$family][$key] = true;