From 4794dfa79d78934a7f3735f7ce91ff232c79868d Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 10 Sep 2009 22:01:57 +1200 Subject: [PATCH] Removing those nassty call by reference 'errors'. --- inc/PdoQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/PdoQuery.php b/inc/PdoQuery.php index 8b6d9ba3..b8ac6c63 100644 --- a/inc/PdoQuery.php +++ b/inc/PdoQuery.php @@ -271,7 +271,7 @@ class PdoDatabase { * @param mixed ... Subsequent arguments are positionally replaced into the $sql_query_string */ function Prepare( ) { - $qry = new PdoQuery( &$this ); + $qry = new PdoQuery( $this ); $qry->Query(func_get_args()); return $qry; }