forked from ZwiiCMS-Team/ZwiiCMS
deleteData ok
This commit is contained in:
parent
7ce2d60b50
commit
bd881b6a80
@ -441,10 +441,10 @@ class common {
|
|||||||
$result = false;
|
$result = false;
|
||||||
$result = $keys[0];
|
$result = $keys[0];
|
||||||
for ($i=1; $i <= count($keys) -1 ; $i++) {
|
for ($i=1; $i <= count($keys) -1 ; $i++) {
|
||||||
echo $i;
|
|
||||||
$result .= '.' . $keys[$i];
|
$result .= '.' . $keys[$i];
|
||||||
}
|
}
|
||||||
$success = is_object ($db->delete($result, $keys[count($keys)], true));
|
$success = $db->delete($result, true);
|
||||||
|
return is_object($success);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user