]> projects.mako.cc - scuttle/blobdiff - templates/profile.tpl.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / templates / profile.tpl.php
index e9ff91bd6d5133c71e6837dec5034e9796be24ad..0d93c99543ad79781e0efa36173b7f7976a08701 100644 (file)
@@ -1,5 +1,6 @@
 <?php
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$userservice =& $sf->getServiceInstance('UserService');
 $this->includeTemplate($GLOBALS['top_include']);
 ?>
 

Benjamin Mako Hill || Want to submit a patch?