disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'dev' into live
[dylansserver.git]
/
model
/
model.php
diff --git
a/model/model.php
b/model/model.php
index
f9bb164
..
9088831
100644
(file)
--- 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);
$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();
$statement->execute();
$return = array();
$statement->store_result();