From ccfa2f36222fd2e189ff53cb63f29b7eefa60610 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 18 Feb 2010 00:13:37 +1300 Subject: [PATCH] Check the correct variable. Whoops. --- inc/AwlQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();