]> projects.mako.cc - scuttle/blobdiff - templates/sidebar.block.watchlist.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / templates / sidebar.block.watchlist.php
index e35fa763ea2606b0e1fe424c269963fffb5a7e9f..38bb38932ade5a76d64796b58ce33819b98d1a0d 100644 (file)
@@ -1,5 +1,6 @@
 <?php
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$userservice =& $sf->getServiceInstance('UserService');
 
 $watching = $userservice->getWatchNames($userid);
 if ($watching) {

Benjamin Mako Hill || Want to submit a patch?