# HG changeset patch # User Dan # Date 1245557685 14400 # Node ID 30956e5092ff0fb20f53f3eedb2bb9ed2deab22f # Parent 722f4beeceb615fb5aab2ad3922bcbbcf73ae526 Fixed improper usage of function_exists() in captcha diff -r 722f4beeceb6 -r 30956e5092ff includes/captcha.php --- a/includes/captcha.php Mon Jun 15 20:10:30 2009 -0400 +++ b/includes/captcha.php Sun Jun 21 00:14:45 2009 -0400 @@ -83,7 +83,7 @@ $this->id = $row['code_id']; // run any custom init functions - if ( function_exists(array($this, 'construct_hook')) ) + if ( method_exists($this, 'construct_hook') ) $this->construct_hook(); }