X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=model%2Fmodel.php;h=9088831576a24a5d56be7e065c81c3b31cb1eaaf;hb=c8d6aa1779e2fc2c21fb2b9d856dbee810ac2fe1;hp=f9bb164bba104e5c26d1782940848978a9e6e9cd;hpb=86ca40f0b2234a734a277ffb6cd6388b9355d1a6;p=dylansserver.git 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();