Update orm.php

Reset the parent_key_exists to default of false.
This commit is contained in:
FusionPBX
2016-07-15 12:13:45 -06:00
committed by GitHub
parent a4ad4113cd
commit dfb9dc0664

View File

@@ -645,6 +645,7 @@
if (permission_exists($child_name.'_add')) {
//determine if child or parent key exists
$child_key_name = $this->singular($child_name).'_uuid';
$parent_key_exists = false;
$child_key_exists = false;
foreach ($row as $k => $v) {
if ($k == $parent_key_name) {