X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=model%2Fmodel.php;h=f9bb164bba104e5c26d1782940848978a9e6e9cd;hb=076804161f89992a23bea2525d5291e688d1ec1f;hp=9088831576a24a5d56be7e065c81c3b31cb1eaaf;hpb=c621167423f96bd737049a80cef35e9ce72aa513;p=dylansserver.git diff --git a/model/model.php b/model/model.php index 9088831..f9bb164 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();