浏览代码

Update orm.php

The change from fetch to fetchAll created the need for this change.
FusionPBX 9 年之前
父节点
当前提交
930a100bcb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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";