Pass an object as the first argument to method_exists()

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-02-03 19:55:15 +00:00
committed by WineHQ
parent 21a18c5d09
commit 47a4d3cf84

View File

@@ -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,