modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2024-05-21 01:33:45 +04:00
parent a3f9094d8f
commit 2804e1b3bb
1 changed files with 3 additions and 1 deletions

View File

@ -116,7 +116,9 @@ class SqliteCapacitor extends CapacitorStorage {
$updates = func::_call($context, [$item, $values, $row, ...$args]);
if (is_array($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)) {
$updates["_modified"] = $now;
}