Fixed code structure
This commit is contained in:
parent
ee5ada6991
commit
b99f5b576e
4 changed files with 26 additions and 22 deletions
|
|
@ -134,7 +134,7 @@ class Config {
|
|||
$a->config[$family][$key] = $value;
|
||||
|
||||
// manage array value
|
||||
$dbvalue = (is_array($value) ? serialize($value):$value);
|
||||
$dbvalue = (is_array($value) ? serialize($value) : $value);
|
||||
$dbvalue = (is_bool($dbvalue) ? intval($dbvalue) : $dbvalue);
|
||||
|
||||
if (is_null($stored)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue