/trunk/plugins/viathinksoft/raPages/101_change_password/OIDplusPageRaChangePassword.class.php |
---|
28,7 → 28,7 |
$email = $params['email']; |
$res = OIDplus::db()->query("select * from ###ra where email = ?", array($email)); |
if ($res->num_rows() == 0) { |
if (!$res->any()) { |
throw new OIDplusException(_L('RA does not exist')); |
} |
98,7 → 98,7 |
} |
$res = OIDplus::db()->query("select * from ###ra where email = ?", array($ra_email)); |
if ($res->num_rows() == 0) { |
if (!$res->any()) { |
$out['icon'] = 'img/error_big.png'; |
$out['text'] = _L('RA "%1" does not exist','<b>'.htmlentities($ra_email).'</b>'); |
return; |