ChangeSet ID: 30928 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/02/03 13:55:15
Modified files: include : objectManager.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Pass an object as the first argument to method_exists()
Patch: http://cvs.winehq.org/patch.py?id=30928
Old revision New revision Changes Path 1.2 1.3 +1 -1 appdb/include/objectManager.php
Index: appdb/include/objectManager.php diff -u -p appdb/include/objectManager.php:1.2 appdb/include/objectManager.php:1.3 --- appdb/include/objectManager.php:1.2 3 Feb 2007 19:55:15 -0000 +++ appdb/include/objectManager.php 3 Feb 2007 19:55:15 -0000 @@ -172,7 +172,7 @@ class ObjectManager function display_queue_processing_help() { /* No help text defined, so do nothing */ - if(!method_exists($this->sClass, "ObjectDisplayQueueProcessingHelp")) + if(!method_exists(new $this->sClass(), "ObjectDisplayQueueProcessingHelp")) return FALSE;
call_user_func(array($this->sClass,