Index: branches/unlabeled/unlabeled-1.170.2/core/kernel/application.php =================================================================== diff -u -r7762 -r7764 --- branches/unlabeled/unlabeled-1.170.2/core/kernel/application.php (.../application.php) (revision 7762) +++ branches/unlabeled/unlabeled-1.170.2/core/kernel/application.php (.../application.php) (revision 7764) @@ -2427,8 +2427,8 @@ if (!isset($is_spider)) { $sql = 'SELECT AgentId FROM '.TABLE_PREFIX.'SpiderUserAgents - WHERE UserAgent = '.$this->DB->qstr(trim($_SERVER['HTTP_USER_AGENT'])); - $is_spider = $this->DB->GetOne($sql) > 0; + WHERE UserAgent = '.$this->Conn->qstr(trim($_SERVER['HTTP_USER_AGENT'])); + $is_spider = $this->Conn->GetOne($sql) > 0; } return $is_spider;