diff options
author | Michael Vogel <icarus@dabo.de> | 2012-03-11 20:22:28 +0100 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-03-11 20:22:28 +0100 |
commit | d653e27e2dfc172fd66a0987312952d736aca3e7 (patch) | |
tree | e0725ca5cf27fc4400a7566eebc0721528d69fd4 /mod/network.php | |
parent | ebdf4842184cc8d0576abe99b29650c6b6512167 (diff) | |
parent | 1dad15a021cc5d03f4238ab77ff051fc0ca1e35e (diff) | |
download | volse-hubzilla-d653e27e2dfc172fd66a0987312952d736aca3e7.tar.gz volse-hubzilla-d653e27e2dfc172fd66a0987312952d736aca3e7.tar.bz2 volse-hubzilla-d653e27e2dfc172fd66a0987312952d736aca3e7.zip |
Merge commit 'upstream/master'
Conflicts:
view/theme/diabook/wall_item.tpl
view/theme/diabook/wallwall_item.tpl
Diffstat (limited to 'mod/network.php')
-rwxr-xr-x | mod/network.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index 27c6e315b..b04a7b489 100755 --- a/mod/network.php +++ b/mod/network.php @@ -403,7 +403,8 @@ function network_content(&$a, $update = 0) { if(count($r)) { $a->set_pager_total($r[0]['total']); - $a->set_pager_itemspage(40); + $itemspage_network = get_pconfig(local_user(),'system','itemspage_network'); + $a->set_pager_itemspage(((intval($itemspage_network)) ? $itemspage_network : 40)); } $pager_sql = sprintf(" LIMIT %d, %d ",intval($a->pager['start']), intval($a->pager['itemspage'])); } |