diff --git a/inc/AwlQuery.php b/inc/AwlQuery.php index bb31f6e8..4b6e62f3 100644 --- a/inc/AwlQuery.php +++ b/inc/AwlQuery.php @@ -231,8 +231,8 @@ class AwlQuery $this->execution_time = 0; $this->error_info = null; $this->rownum = -1; - if ( isset($dbconn) ) $this->connection = $_awl_dbconn; - else $this->connection = null; + if ( isset($_awl_dbconn) ) $this->connection = $_awl_dbconn; + else $this->connection = null; $argc = func_num_args(); $args = func_get_args();