--- 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>');
}