Subversion Repositories oidplus

Rev

Rev 702 | Rev 800 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 702 Rev 790
Line 152... Line 152...
152
                return false;
152
                return false;
153
        }
153
        }
154
 
154
 
155
        private function getForgotPasswordText($email) {
155
        private function getForgotPasswordText($email) {
156
                $res = OIDplus::db()->query("select * from ###ra where email = ?", array($email));
156
                $res = OIDplus::db()->query("select * from ###ra where email = ?", array($email));
157
                if ($res->num_rows() == 0) {
157
                if (!$res->any()) {
158
                        throw new OIDplusException(_L('This RA does not exist.'));
158
                        throw new OIDplusException(_L('This RA does not exist.'));
159
                }
159
                }
160
 
160
 
161
                $message = file_get_contents(__DIR__ . '/forgot_password.tpl');
161
                $message = file_get_contents(__DIR__ . '/forgot_password.tpl');
162
 
162