cvs: php-bugs-web / bug.php

From: Date: Tue, 19 Feb 2002 23:56:10 +0000
Subject: cvs: php-bugs-web / bug.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-8767@lists.php.net to get a copy of this message
jimw Tue Feb 19 18:56:10 2002 EDT Modified files: /php-bugs-web bug.php Log: don't mess with resolve stuff when we've encountered errors. Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.30 php-bugs-web/bug.php:1.31 --- php-bugs-web/bug.php:1.30 Tue Feb 19 18:53:57 2002 +++ php-bugs-web/bug.php Tue Feb 19 18:56:10 2002 @@ -94,11 +94,12 @@ if (!verify_password($user,stripslashes($pw))) { $errors[] = "The username or password you supplied was incorrect."; } + if ($in['resolve']) { if (!$trytoforce && $RESOLVE_REASONS[$in['resolve']]['status'] == $bug['status']) { $errors[] = "The bug is already marked '$bug[status]'. (Submit again to ignore this.)"; } - else { + elseif (!$errors) { if ($in['status'] == $bug['status']) { $in['status'] = $RESOLVE_REASONS[$in['resolve']]['status']; }

« previous php.mirrors (#8767) next »