cvs: phpweb / mod_bugs.php
| From: | Zak Greant | Date: | Sun, 03 Sep 2000 19:35:33 +0000 |
| Subject: | cvs: phpweb / mod_bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1950@lists.php.net to get a copy of this message | ||
zak Sun Sep 3 12:35:33 2000 EDT
Modified files:
/phpweb mod_bugs.php
Log:
Index: phpweb/mod_bugs.php
diff -u phpweb/mod_bugs.php:1.13 phpweb/mod_bugs.php:1.14
--- phpweb/mod_bugs.php:1.13 Sun Sep 3 12:26:28 2000
+++ phpweb/mod_bugs.php Sun Sep 3 12:35:33 2000
@@ -408,8 +408,9 @@
unset ($comments[0]); # Ditch the most recent comment
#fetch original bug description
- print $query = "SELECT ts1, email, comments from bugdb where id=$bug_id";
- $result = mysql_query ($query);
+ print $query = "SELECT ts1, email, ldesc from bugdb where id=$bug_id";
+ print $result = mysql_query ($query);
+ print mysql_error ();
$comments[] = mysql_fetch_row ($result);
foreach ($comments as $value)