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 976a5e6113
commit c7d9231788
1 changed files with 1 additions and 1 deletions

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