Update orm.php

The change from fetch to fetchAll created the need for this change.
This commit is contained in:
FusionPBX
2016-10-04 03:49:32 -06:00
committed by GitHub
parent 12d45dc5f9
commit 593cbad8a2

View File

@@ -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";