X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/4e86ca43b4800f577c3a055be146a7f23886b26e..a914fa4a9fe3ef4e708e983da8a53edada5e09aa:/services/servicefactory.php diff --git a/services/servicefactory.php b/services/servicefactory.php index 5f7635a..987d908 100644 --- 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]; }