]> projects.mako.cc - scuttle/blobdiff - templates/sidebar.block.profile.php
updated readme with information on a series of bugs I know exist
[scuttle] / templates / sidebar.block.profile.php
index 1b8e915032a7d9605a1a4478bf1c2b5f583b7c45..f4b8a2f4a70e8e334258b5bfa63b7e407a2f19d4 100644 (file)
@@ -1,5 +1,6 @@
 <?php
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$userservice =& $sf->getServiceInstance('UserService');
 if (utf8_strlen($userinfo['name']) > 0) {
     $name = $userinfo['name'];
 } else {

Benjamin Mako Hill || Want to submit a patch?