]> projects.mako.cc - scuttle/blobdiff - password.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / password.php
index fba6f97bfe4e1533e305cb7a7ada2f8baf1904e8..b5592555bcd0864c2a03502c358c7ca5658b9ba2 100644 (file)
@@ -19,8 +19,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ***************************************************************************/
 
 require_once 'header.inc.php';
-$userservice =& ServiceFactory::getServiceInstance('UserService');
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
+$sf = new ServiceFactory();
+$userservice     =& $sf->getServiceInstance('UserService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
 $tplVars = array();
 
 // IF SUBMITTED

Benjamin Mako Hill || Want to submit a patch?