cvs: phpweb / bugs.php

From: Date: Sun, 03 Sep 2000 05:45:52 +0000
Subject: cvs: phpweb / bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-1933@lists.php.net to get a copy of this message
zak Sat Sep 2 22:45:52 2000 EDT Modified files: /phpweb bugs.php Log: Restoring previous version Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.34 phpweb/bugs.php:1.35 --- phpweb/bugs.php:1.34 Sat Sep 2 22:29:37 2000 +++ phpweb/bugs.php Sat Sep 2 22:45:52 2000 @@ -420,17 +420,7 @@ Mail("rasmus@lerdorf.on.ca", "bugdb auth failure for $user/$pw", "", "From: bugdb"); } else { echo "<b>Database updated!</b><br>\n"; - - ### Changes made by j.a.greant 00/09/02 - - $result = mysql_query("SELECT ts, email, comment from bugdb where id=$id order by ts"); - while ($temp = @ mysql_fetch_row ($result)) # $result should always be valid, suppress error just in case. - { - $prev_comments .= "[$temp[0]] $temp[1]\n$temp[2]\n\n" . str_repeat ('-', 76) . "\n\n"; - } - - - $text = "ID: $id\nUpdated by: $user\nReported By: $eemail\nStatus: $estatus\nBug Type: $ebug_type\nAssigned To: $eassign\nComments:\n\n$ncomment\n\nPrevious Comments:\n\n$prev_comments"; + $text = "ID: $id\nUpdated by: $user\nReported By: $eemail\nStatus: $estatus\nBug Type: $ebug_type\nAssigned To: $eassign\nComments:\n\n$ncomment\n"; $text .= "\nFull Bug description available at: http://bugs.php.net/?id=$id\n"; $text = stripslashes($text); $esdesc = stripslashes($esdesc);

« previous php.mirrors (#1933) next »