Browse Source

1

develop
叙述、别离 2 months ago
parent
commit
35f6be4d5a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/system/archive/listview.class.php
  2. +1
    -1
      src/system/archive/sglistview.class.php

+ 1
- 1
src/system/archive/listview.class.php View File

@@ -269,7 +269,7 @@ class ListView
}
} else {
$this->pagesize = isset($GLOBALS['PageSize'])? intval($GLOBALS['PageSize']) : 10;
$this->pagesize = $this->pagesize > 20? 20 : $this->pagesize;
$this->pagesize = $this->pagesize > 20 ? 20 : $this->pagesize;
}
$this->TotalPage = ceil($this->TotalResult / $this->pagesize);
}


+ 1
- 1
src/system/archive/sglistview.class.php View File

@@ -228,7 +228,7 @@ class SgListView
}
} else {
$this->pagesize = isset($GLOBALS['PageSize'])? intval($GLOBALS['PageSize']) : 10;
$this->pagesize = $this->pagesize > 20? 20 : $this->pagesize;
$this->pagesize = $this->pagesize > 20 ? 20 : $this->pagesize;
}
$this->TotalPage = ceil($this->TotalResult / $this->pagesize);
}


Loading…
Cancel
Save