cvs: php-bugs-web / fix.php

From: Date: Mon, 20 Jan 2003 12:17:28 +0000
Subject: cvs: php-bugs-web / fix.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15212@lists.php.net to get a copy of this message
wez Mon Jan 20 07:17:29 2003 EDT Modified files: /php-bugs-web fix.php Log: Require comments for bogusifying via the quickfix links sent on developer mails from the bug db. # Direct all flames to derick@php.net :) Index: php-bugs-web/fix.php diff -u php-bugs-web/fix.php:1.8 php-bugs-web/fix.php:1.9 --- php-bugs-web/fix.php:1.8 Tue Jul 2 19:08:55 2002 +++ php-bugs-web/fix.php Mon Jan 20 07:17:09 2003 @@ -31,6 +31,9 @@ if (!isset($r) || !isset($RESOLVE_REASONS[$r])) { $errors[] = "You have to use a valid reason to resolve this bug."; } +if ($RESOLVE_REASONS[$r]['status'] == 'Bogus' && strlen(trim($ncomment)) == 0) { + $errors[] = "You must provide a comment when marking a bug 'Bogus'"; +} if ($errors) { commonHeader("Resolve Bug");

« previous php.mirrors (#15212) next »