]> projects.mako.cc - scuttle/blobdiff - templates/dynamictags.inc.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / templates / dynamictags.inc.php
index d7f094a5d377f79602cd5319671d9dfbde85d5e4..a4fd3f42ee7c505a143fb2137f7ba3cb9249c89d 100644 (file)
@@ -18,8 +18,9 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ***************************************************************************/
 
-$tagservice  =& ServiceFactory::getServiceInstance('TagService');
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$tagservice  =& $sf->getServiceInstance('TagService');
+$userservice =& $sf->getServiceInstance('UserService');
 
 $logged_on_userid = $userservice->getCurrentUserId();
 

Benjamin Mako Hill || Want to submit a patch?