disinclined.org
/
git
/
dylansserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ca40f
)
pass-by-reference defined in func. def. not call
author
Dylan Lloyd
<dylan@miniscule>
Wed, 27 Jun 2012 06:35:29 +0000
(
02:35
-0400)
committer
Dylan Lloyd
<dylan@miniscule>
Wed, 27 Jun 2012 06:35:29 +0000
(
02:35
-0400)
model/model.php
patch
|
blob
|
history
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);
- 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();