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