cvs: pearweb /public_html/bugs bug.php

From: Date: Wed, 19 May 2004 21:05:02 +0000
Subject: cvs: pearweb /public_html/bugs bug.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-19671@lists.php.net to get a copy of this message
dufuz Wed May 19 17:05:02 2004 EDT Modified files: /pearweb/public_html/bugs bug.php Log: removed check if $bug is empty on line 60 http://cvs.php.net/diff.php/pearweb/public_html/bugs/bug.php?r1=1.31&r2=1.32&ty=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.31 pearweb/public_html/bugs/bug.php:1.32 --- pearweb/public_html/bugs/bug.php:1.31 Wed May 19 16:06:47 2004 +++ pearweb/public_html/bugs/bug.php Wed May 19 17:05:02 2004 @@ -1,6 +1,6 @@ <?php /* vim: set noet ts=4 sw=4: : */ -// $Id: bug.php,v 1.31 2004/05/19 20:06:47 dufuz Exp $ +// $Id: bug.php,v 1.32 2004/05/19 21:05:02 dufuz Exp $ require_once './include/prepend.inc'; require_once './include/cvs-auth.inc'; @@ -57,7 +57,7 @@ $bug =& $dbh->getRow($query, array(), DB_FETCHMODE_ASSOC); -if (empty($bug) || !$bug) { +if (!$bug) { response_header('No such bug.'); echo '<h1 class="error">No such bug #'.$id.'!</h1>'; response_footer();

« previous php.pear.cvs (#19671) next »