cvs: phpweb / mod_bugs.php

From: Date: Sun, 03 Sep 2000 06:46:47 +0000
Subject: cvs: phpweb / mod_bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-1939@lists.php.net to get a copy of this message
zak Sat Sep 2 23:46:47 2000 EDT Modified files: /phpweb mod_bugs.php Log: changed order on db queries Index: phpweb/mod_bugs.php diff -u phpweb/mod_bugs.php:1.5 phpweb/mod_bugs.php:1.6 --- phpweb/mod_bugs.php:1.5 Sat Sep 2 23:38:06 2000 +++ phpweb/mod_bugs.php Sat Sep 2 23:46:47 2000 @@ -423,7 +423,7 @@ ### Changes made by j.a.greant 00/09/03 - $query = "SELECT ts, email, comment from bugdb_comments where bug=$id order by ts"; + $query = "SELECT ts, email, comment from bugdb_comments where bug=$id order by desc ts"; $result = mysql_query($query); while ($temp = mysql_fetch_row ($result)) # $result should always be valid, suppress error just in case. @@ -469,7 +469,7 @@ ### Changes made by j.a.greant 00/09/03 - $query = "SELECT ts, email, comment from bugdb_comments where bug=$id order by ts"; + $query = "SELECT ts, email, comment from bugdb_comments where bug=$id order by desc ts"; $result = mysql_query($query); while ($temp = mysql_fetch_row ($result)) # $result should always be valid, suppress error just in case.

« previous php.mirrors (#1939) next »