cvs: phpweb / mod_bugs.php

From: Date: Sun, 03 Sep 2000 19:26:28 +0000
Subject: cvs: phpweb / mod_bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-1949@lists.php.net to get a copy of this message
zak Sun Sep 3 12:26:28 2000 EDT Modified files: /phpweb mod_bugs.php Log: Index: phpweb/mod_bugs.php diff -u phpweb/mod_bugs.php:1.12 phpweb/mod_bugs.php:1.13 --- phpweb/mod_bugs.php:1.12 Sun Sep 3 12:21:15 2000 +++ phpweb/mod_bugs.php Sun Sep 3 12:26:28 2000 @@ -404,8 +404,8 @@ while ($temp = mysql_fetch_row ($result)) # $result should always be valid, suppress error just in case. $comments[] = $temp; - $comment[0] - and unset ($comments[0]); # Ditch the most recent comment + if ($comments[0]) + unset ($comments[0]); # Ditch the most recent comment #fetch original bug description print $query = "SELECT ts1, email, comments from bugdb where id=$bug_id";

« previous php.mirrors (#1949) next »