modifs.mineures sans commentaires
This commit is contained in:
parent
a3f9094d8f
commit
2804e1b3bb
|
@ -116,7 +116,9 @@ class SqliteCapacitor extends CapacitorStorage {
|
||||||
$updates = func::_call($context, [$item, $values, $row, ...$args]);
|
$updates = func::_call($context, [$item, $values, $row, ...$args]);
|
||||||
if (is_array($updates)) {
|
if (is_array($updates)) {
|
||||||
if (array_key_exists("_item", $updates)) {
|
if (array_key_exists("_item", $updates)) {
|
||||||
$updates["_item"] = serialize($updates["_item"]);
|
$_item = serialize($updates["_item"]);
|
||||||
|
$updates["_item"] = $_item;
|
||||||
|
$updates["_sum"] = sha1($_item);
|
||||||
if (!array_key_exists("_modified", $updates)) {
|
if (!array_key_exists("_modified", $updates)) {
|
||||||
$updates["_modified"] = $now;
|
$updates["_modified"] = $now;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue