plugins/SpecialUserFuncs.php
changeset 1206 50f6c144ec68
parent 1158 e733f984c990
child 1222 d1ded7b4c775
--- a/plugins/SpecialUserFuncs.php	Wed Jan 06 01:18:19 2010 -0500
+++ b/plugins/SpecialUserFuncs.php	Wed Jan 06 02:02:51 2010 -0500
@@ -1299,7 +1299,7 @@
     die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>');
   }
   $s = $session->activate_account(str_replace('_', ' ', $user), $key);
-  if ( $s > 0 )
+  if ( $s )
   {
     die_friendly($lang->get('userfuncs_activate_success_title'), '<p>' . $lang->get('userfuncs_activate_success_body') . '</p>');
   }