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