forked from ZwiiCMS-Team/ZwiiCMS
setData return ok
This commit is contained in:
parent
3e4cb99750
commit
63f94e321f
@ -480,6 +480,7 @@ class common {
|
||||
}
|
||||
|
||||
// Descripteur
|
||||
$success = false;
|
||||
$db = $this->dataFiles[$keys[0]];
|
||||
if (count($keys) >= 1) {
|
||||
/**
|
||||
@ -490,8 +491,9 @@ class common {
|
||||
for ($i=1; $i < count($keys)-1 ; $i++) {
|
||||
$result .= '.' . $keys[$i];
|
||||
}
|
||||
$db->set($result, $keys[count($keys)-1], true);
|
||||
$success = is_object ($db->set($result, $keys[count($keys)-1], true));
|
||||
}
|
||||
return $success;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user