equal
deleted
inserted
replaced
2862 } |
2862 } |
2863 |
2863 |
2864 $q = $this->sql('SELECT code_id, code FROM ' . table_prefix . "captcha WHERE session_id = '$hash' AND source_ip = '{$_SERVER['REMOTE_ADDR']}';"); |
2864 $q = $this->sql('SELECT code_id, code FROM ' . table_prefix . "captcha WHERE session_id = '$hash' AND source_ip = '{$_SERVER['REMOTE_ADDR']}';"); |
2865 if ( $db->numrows() < 1 ) |
2865 if ( $db->numrows() < 1 ) |
2866 { |
2866 { |
2867 die("session manager: no rows for captcha_code $hash"); |
|
2868 return false; |
2867 return false; |
2869 } |
2868 } |
2870 |
2869 |
2871 list($code_id, $code) = $db->fetchrow_num(); |
2870 list($code_id, $code) = $db->fetchrow_num(); |
2872 |
2871 |