Marius Cramer
2013-11-29 7ae5b04f40c36b6a977f5811e7fa1a9560523856
Fixed wrong argument passing method in alias query functions
2 files modified
18 ■■■■ changed files
interface/lib/classes/db_mysql.inc.php 8 ●●●● patch | view | raw | blame | history
server/lib/classes/db_mysql.inc.php 10 ●●●● patch | view | raw | blame | history
interface/lib/classes/db_mysql.inc.php
@@ -264,11 +264,11 @@
    }
    public function queryOne($sQuery = '') {
        return $this->query_one($sQuery);
        return call_user_func_array(array(&$this, 'queryOneRecord'), func_get_args());
    }
    public function query_one($sQuery = '') {
        return $this->queryOneRecord($sQuery);
        return call_user_func_array(array(&$this, 'queryOneRecord'), func_get_args());
    }
    /**
@@ -297,11 +297,11 @@
    }
    public function queryAll($sQuery = '') {
        return $this->queryAllRecords($sQuery);
        return call_user_func_array(array(&$this, 'queryAllRecords'), func_get_args());
    }
    public function query_all($sQuery = '') {
        return $this->queryAllRecords($sQuery);
        return call_user_func_array(array(&$this, 'queryAllRecords'), func_get_args());
    }
    /**
server/lib/classes/db_mysql.inc.php
@@ -269,11 +269,11 @@
    }
    public function queryOne($sQuery = '') {
        return $this->query_one($sQuery);
        return call_user_func_array(array(&$this, 'queryOneRecord'), func_get_args());
    }
    public function query_one($sQuery = '') {
        return $this->queryOneRecord($sQuery);
        return call_user_func_array(array(&$this, 'queryOneRecord'), func_get_args());
    }
    /**
@@ -302,11 +302,11 @@
    }
    public function queryAll($sQuery = '') {
        return $this->queryAllRecords($sQuery);
        return call_user_func_array(array(&$this, 'queryAllRecords'), func_get_args());
    }
    public function query_all($sQuery = '') {
        return $this->queryAllRecords($sQuery);
        return call_user_func_array(array(&$this, 'queryAllRecords'), func_get_args());
    }
    /**
@@ -335,7 +335,7 @@
    }
    public function query_all_array($sQuery = '') {
        return $this->queryAllArray($sQuery);
        return call_user_func_array(array(&$this, 'queryAllArray'), func_get_args());
    }