diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 54f140ec27..79e274fa87 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -949,11 +949,8 @@ class baseRouter if(empty($account) and isset($_COOKIE['za'])) $account = $_COOKIE['za']; $vision = ''; - $sql = new sql(); if($this->config->installed and validater::checkAccount($account) and !$this->upgrading) { - $account = $sql->quote($account); - if(!empty($_COOKIE['vision'])) { $vision = $_COOKIE['vision'];