cvs: php-bugs-web / bug.php

From: Date: Thu, 30 May 2002 04:05:39 +0000
Subject: cvs: php-bugs-web / bug.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10542@lists.php.net to get a copy of this message
jimw Thu May 30 00:05:39 2002 EDT Modified files: /php-bugs-web bug.php Log: sheesh. this was about as wrong as it could get. what dunderhead did this? (oh, wait....) Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.36 php-bugs-web/bug.php:1.37 --- php-bugs-web/bug.php:1.36 Sun May 12 14:01:40 2002 +++ php-bugs-web/bug.php Thu May 30 00:05:38 2002 @@ -87,7 +87,7 @@ # check that they aren't being bad and setting a status they # aren't allowed to (oh, the horrors.) - if ($in['status'] != $bug['status'] || $state_type[$in['status']] != 2) { + if ($in['status'] != $bug['status'] && $state_types[$in['status']] != 2) { $errors[] = "You aren't allowed to change a bug to that state."; }

« previous php.mirrors (#10542) next »