Loading audit.php +2 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,8 @@ class Audit extends Prefab { **/ function isdesktop() { $agent=Base::instance()->get('AGENT'); return (bool)preg_match('/('.self::UA_Desktop.')/i',$agent) && !ismobile(); return (bool)preg_match('/('.self::UA_Desktop.')/i',$agent) && !$this->ismobile(); } /** Loading Loading
audit.php +2 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,8 @@ class Audit extends Prefab { **/ function isdesktop() { $agent=Base::instance()->get('AGENT'); return (bool)preg_match('/('.self::UA_Desktop.')/i',$agent) && !ismobile(); return (bool)preg_match('/('.self::UA_Desktop.')/i',$agent) && !$this->ismobile(); } /** Loading