diff options
| author | lsces <lester@lsces.co.uk> | 2012-09-28 22:28:43 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2012-09-28 22:28:43 +0100 |
| commit | c0e367dbbe7701410bc4f366f80068562fa4facf (patch) | |
| tree | d41567d067d3f35744ed353ffa5324e290c67d1c | |
| parent | 0367d82beab881df76d86a896e25a8a21e4672b9 (diff) | |
| parent | 3cb4b24f6153eaddc05d3b312b3d3ffb6d05f4f6 (diff) | |
| download | kernel-c0e367dbbe7701410bc4f366f80068562fa4facf.tar.gz kernel-c0e367dbbe7701410bc4f366f80068562fa4facf.tar.bz2 kernel-c0e367dbbe7701410bc4f366f80068562fa4facf.zip | |
Merge with master
| -rw-r--r-- | BitBase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BitBase.php b/BitBase.php index 0200cd3..286141e 100644 --- a/BitBase.php +++ b/BitBase.php @@ -297,7 +297,7 @@ abstract class BitBase { if( isset($pListHash['page'] )) { $pListHash['offset'] = ($pListHash['page'] - 1) * $pListHash['max_records']; } else { - if( isset( $_REQUEST["offset"] )) { + if( !empty( $_REQUEST["offset"] )) { $pListHash['offset'] = $_REQUEST['offset']; } elseif( isset( $_REQUEST['page'] ) && is_numeric( $_REQUEST['page'] ) && $_REQUEST['page'] > 0 ) { $pListHash['offset'] = ($_REQUEST['page'] - 1) * $pListHash['max_records']; |
