Improved exception handling and other minor fixes

This commit is contained in:
Deon George
2013-05-10 00:42:54 +10:00
parent ce17247db6
commit 970b2ef4f0
11 changed files with 45 additions and 75 deletions

View File

@@ -27,7 +27,7 @@ class Model_RTM extends ORM_OSB {
$result = array();
foreach ($rtmo->agents_direct() as $artmo)
$result = $result+$rtmo->customers($artmo);
$result = Arr::merge($result,$rtmo->customers($artmo));
foreach ($rtmo->customers_direct() as $ao)
array_push($result,$ao);