From 39334f25eca056afa4c02215f45451c6c296e08d Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 25 Jan 2001 07:07:57 +0000 Subject: [PATCH] fix limit function to return offset var --- phpgwapi/inc/class.db_mysql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.db_mysql.inc.php b/phpgwapi/inc/class.db_mysql.inc.php index 6b08ef0ead..574b2a8847 100644 --- a/phpgwapi/inc/class.db_mysql.inc.php +++ b/phpgwapi/inc/class.db_mysql.inc.php @@ -100,7 +100,7 @@ class db { function limit($start,$offset) { if ($start == 0) { - $s = "limit $start"; + $s = "limit $offset"; } else { $s = "limit $start,$offset"; }