includes/captcha.php
changeset 1025 30956e5092ff
parent 801 eb8b23f11744
child 1081 745200a9cc2a
--- 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();
   }