|
From: Benjamin C. <bc...@us...> - 2002-03-02 18:08:59
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv9260/admin
Modified Files:
project.php
Log Message:
Bug fixes with the project multi-page display
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- project.php 26 Jan 2002 16:46:52 -0000 1.30
+++ project.php 2 Mar 2002 18:08:55 -0000 1.31
@@ -314,7 +314,7 @@
$t->set_block('content','row','rows');
if (!$order) { $order = '1'; $sort = 'asc'; }
- $nr = $q->query("select count(*) from ".TBL_PROJECT);
+ $nr = $q->grab_field("select count(*) from ".TBL_PROJECT);
list($selrange, $llimit, $npages, $pages) = multipages($nr,$page,
"order=$order&sort=$sort");
|