Update database.php

This commit is contained in:
FusionPBX
2020-03-03 19:44:57 -07:00
committed by GitHub
parent 141ca3b1e8
commit dc1b1f5717

View File

@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Copyright (C) 2010 - 2019 Copyright (C) 2010 - 2020
All Rights Reserved. All Rights Reserved.
Contributor(s): Contributor(s):
@@ -723,9 +723,9 @@ include "root.php";
$i++; $i++;
} }
if (strlen($field_value) > 0) { if (strlen($field_value) > 0) {
$results = $this->execute($sql, $parameters, 'row'); $results = $this->execute($sql, $parameters, 'all');
if (is_array($results)) { if (is_array($results)) {
$array[$table_name][] = $results; $array[$table_name] = $results;
} }
} }
unset($parameters); unset($parameters);