From 5faec95d69fe48e5505b6eb4c28552ce500c9dc5 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 8 Jul 2001 14:31:59 +0000 Subject: [PATCH] trying to fix reset of start... again --- addressbook/inc/class.boaddressbook.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addressbook/inc/class.boaddressbook.inc.php b/addressbook/inc/class.boaddressbook.inc.php index 1932a5ca21..3cd37f7df1 100644 --- a/addressbook/inc/class.boaddressbook.inc.php +++ b/addressbook/inc/class.boaddressbook.inc.php @@ -51,7 +51,11 @@ } global $start,$limit,$query,$sort,$order,$filter,$cat_id; - if($start || $start == 0) { $this->start = $start; } + if(!empty($start) || ($start == "0" )) + { + if($this->debug) { echo '
overriding start: "' . $this->start . '" now "' . $start . '"'; } + $this->start = $start; + } if($limit) { $this->limit = $limit; } if(!empty($query)) { $this->query = $query; } if(!empty($sort)) { $this->sort = $sort; }