]> projects.mako.cc - scuttle/blobdiff - templates/toolbar.inc.php
updated readme with information on a series of bugs I know exist
[scuttle] / templates / toolbar.inc.php
index 023ed3bcb8f3d850cfdc55b726494e7295a50f7d..37193fd48bf532cd81c616f3608090d9433e6c6c 100644 (file)
@@ -1,5 +1,6 @@
 <?php
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$userservice =& $sf->getServiceInstance('UserService');
 if ($userservice->isLoggedOn()) {
     $cUser = $userservice->getCurrentUser();
     $cUsername = $cUser[$userservice->getFieldName('username')];

Benjamin Mako Hill || Want to submit a patch?