projects
/
scuttle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Supporting PHP7.0 on "mysqli" DB driver.
[scuttle]
/
services
/
servicefactory.php
diff --git
a/services/servicefactory.php
b/services/servicefactory.php
index 5f7635a91ebcc1500b8cdf28261300308284338c..987d908727e8365abc6887fd3158c7364dfefa7c 100644
(file)
--- a/
services/servicefactory.php
+++ b/
services/servicefactory.php
@@
-25,7
+25,7
@@
class ServiceFactory {
}
require_once $servicedir . strtolower($name) .'.php';
}
- $instances[$name] = call_user_func
(array($name, 'getInstance'), $db
);
+ $instances[$name] = call_user_func
_array(array($name, 'getInstance'), array(&$db)
);
}
return $instances[$name];
}
Benjamin Mako Hill
||
Want to submit a patch?