Prechádzať zdrojové kódy

Update orm.php

The change from fetch to fetchAll created the need for this change.
FusionPBX 9 rokov pred
rodič
commit
930a100bcb
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      resources/classes/orm.php

+ 1 - 1
resources/classes/orm.php

@@ -375,7 +375,7 @@
 										//set the action
 											if (count($result) > 0) {
 												$action = "update";
-												$old_array[$schema_name][] = $result;
+												$old_array[$schema_name] = $result;
 											}
 											else {
 												$action = "add";