Check the correct variable. Whoops.

This commit is contained in:
Andrew McMillan committed 2010-02-18 00:13:37 +13:00
1 parent 84c5fbea22
commit ccfa2f3622
1 file changed
+2 -2
+2 -2
View File
@@ -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();