cvs: phpweb / mod_bugs.php
| From: | Zak Greant | Date: | Sun, 03 Sep 2000 06:29:18 +0000 |
| Subject: | cvs: phpweb / mod_bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1937@lists.php.net to get a copy of this message | ||
zak Sat Sep 2 23:29:18 2000 EDT
Modified files:
/phpweb mod_bugs.php
Log:
Changing id to proper field name
Index: phpweb/mod_bugs.php
diff -u phpweb/mod_bugs.php:1.3 phpweb/mod_bugs.php:1.4
--- phpweb/mod_bugs.php:1.3 Sat Sep 2 23:21:52 2000
+++ phpweb/mod_bugs.php Sat Sep 2 23:29:18 2000
@@ -423,7 +423,7 @@
### Changes made by j.a.greant 00/09/02
- $query = "SELECT ts, email, comment from bugdb_comments where id=$id order by ts";
+ $query = "SELECT ts, email, comment from bugdb_comments where bug=$id order by ts";
$result = mysql_query($query);
while ($temp = mysql_fetch_row ($result)) # $result should always be valid, suppress error just
in case.