Skip to content

Commit

Permalink
check for type of connection status
Browse files Browse the repository at this point in the history
  • Loading branch information
mobilejoomla committed Jan 26, 2012
1 parent ac18c8e commit 549f19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugins/terawurfl/terawurfl.php
Expand Up @@ -71,7 +71,7 @@ function onDeviceDetection(&$MobileJoomla_Settings, &$MobileJoomla_Device)
try
{
$wurflObj = new TeraWurfl();
if(!is_object($wurflObj) || !$wurflObj->db->connected)
if(!is_object($wurflObj) || $wurflObj->db->connected !== true)
return;
$wurflObj->getDeviceCapabilitiesFromAgent();
}
Expand Down

0 comments on commit 549f19c

Please sign in to comment.