From c8d6aa1779e2fc2c21fb2b9d856dbee810ac2fe1 Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Wed, 27 Jun 2012 02:35:29 -0400 Subject: [PATCH] pass-by-reference defined in func. def. not call --- model/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/model.php b/model/model.php index f9bb164..9088831 100644 --- a/model/model.php +++ b/model/model.php @@ -31,7 +31,7 @@ class model { $args = func_get_args(); $statement = $this->db->prepare($args[0]); $args = array_slice($args, 1); - call_user_func_array(array($statement, 'bind_param'), &$args); + call_user_func_array(array($statement, 'bind_param'), $args); $statement->execute(); $return = array(); $statement->store_result(); -- 2.30.2