summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-04-29 23:07:33 +0200
committerBenny Baumann <BenBE@geshi.org>2014-04-30 20:18:55 +0200
commite00ea4fa1ecb61a00cce4da4fd11a9851a4ec792 (patch)
treedd85e9abd07d2256eea22740fd4e688fa6b01515
parentdf84901b007f144bb2288cd7af0751aa9f8ad045 (diff)
downloadcacert-devel-e00ea4fa1ecb61a00cce4da4fd11a9851a4ec792.tar.gz
cacert-devel-e00ea4fa1ecb61a00cce4da4fd11a9851a4ec792.tar.xz
cacert-devel-e00ea4fa1ecb61a00cce4da4fd11a9851a4ec792.zip
bug 1138: Properly bail out to remark on missing ticket number
-rw-r--r--includes/account.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/account.php b/includes/account.php
index 17427a2..1f44593 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2906,10 +2906,11 @@ function buildSubjectFromSession() {
$row = mysql_fetch_assoc(mysql_query($query));
$ver = !$row['tverify'];
mysql_query("update `users` set `tverify`='$ver' where `id`='$memid'");
- }else{
+ }elseif($id == 43 && array_key_exists('tverify',$_REQUEST) && $_REQUEST['tverify'] > 0 && $ticketvalidation==FALSE){
$_SESSION['ticketmsg']='No action taken. Ticket number is missing!';
}
- */
+ */
+
if($id == 43 && array_key_exists('assurer',$_REQUEST) && $_REQUEST['assurer'] > 0 && $ticketvalidation == TRUE)
{
csrf_check('admsetassuret');