Commits

Stefano Sala committed 16e4327

fix errore T_PAAMAYIM_NEKUDOTAYIM

Comments (0)

Files changed (1)

modules/sfTagHub/lib/BasesfTagHubActions.class.php

 <?php
 
-/*
- *  matteosister <matteog@gmail.com>
+/* 
+ *  Matteo Giachino <matteog@gmail.com>
  *  Just for fun...
  */
 
         $this->forward404Unless($request->hasParameter('tag_id'));
         $taggableName = $request->getParameter('taggable_phpname');
         $taggableQueryName = $taggableName.'Query';
-        $queryObj = $taggableQueryName::create();
+        $queryObj = call_user_func(array($taggableQueryName, 'create'));
         $obj = $queryObj->findOneById($request->getParameter('obj_id'));
         $tag = TagQuery::create()->findOneById($request->getParameter('tag_id'));
         $obj->removeTags($tag->getName());