|
From: Benjamin C. <bc...@us...> - 2002-04-12 00:32:18
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv19239
Modified Files:
query.php
Log Message:
Fix an off by one error with prev/next links
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- query.php 8 Apr 2002 16:30:44 -0000 1.69
+++ query.php 12 Apr 2002 00:32:12 -0000 1.70
@@ -127,6 +127,8 @@
// Handle the formatting for various types of bug info in the bug list
function format_bug_col($colvalue, $coltype, $bugid, $pos) {
+ $pos--;
+
switch ($coltype) {
case 'url' :
echo "<a href=\"$colvalue\" target=\"_new\">$colvalue</a>";
|