X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c7f63c8b9b12efd7b3c10b9f80cda06eaf32068f..HEAD:/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]; }