Enabled Search, Improved Navbar, Fixed Application Authorisation and some other minor fixes
This commit is contained in:
@@ -20,6 +20,10 @@ class Model_RTM extends ORM_OSB {
|
||||
);
|
||||
|
||||
public function customers(Model_RTM $rtmo) {
|
||||
// If our RTM is NULL, then we are our only customer.
|
||||
if (is_null($rtmo->id))
|
||||
return (array(Auth::Instance()->get_user()));
|
||||
|
||||
$result = array();
|
||||
|
||||
foreach ($rtmo->agents_direct() as $artmo)
|
||||
|
Reference in New Issue
Block a user