]> projects.mako.cc - scuttle/blobdiff - templates/sidebar.block.common.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / templates / sidebar.block.common.php
index 205ca1eb91d5701e1fe1bab5ce1198cbf26433a7..f3a30e15a1ce96b6593a80b26f323a1536236500 100644 (file)
@@ -1,5 +1,6 @@
 <?php
-$tagservice =& ServiceFactory::getServiceInstance('TagService');
+$sf = new ServiceFactory();
+$tagservice  =& $sf->getServiceInstance('TagService');
 $commonTags =& $tagservice->getRelatedTagsByHash($hash);
 $commonTags =& $tagservice->tagCloud($commonTags, 5, 90, 225, 'alphabet_asc'); 
 

Benjamin Mako Hill || Want to submit a patch?