aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-09 19:50:45 -0800
committerfriendica <info@friendica.com>2012-03-09 19:50:45 -0800
commitd50a839c0420634ec5756c9f2f95c26484b63b4d (patch)
treedc899a136a2b9666f8f44bfec5e515ea7198ff29 /mod/network.php
parent0e3b9097f68e3bc6fcd3a9b18f0715951300bbd1 (diff)
parenta374bbcf81d6ba36a3fc409e28db377b9612d345 (diff)
downloadvolse-hubzilla-d50a839c0420634ec5756c9f2f95c26484b63b4d.tar.gz
volse-hubzilla-d50a839c0420634ec5756c9f2f95c26484b63b4d.tar.bz2
volse-hubzilla-d50a839c0420634ec5756c9f2f95c26484b63b4d.zip
Merge branch 'pull'
Diffstat (limited to 'mod/network.php')
-rwxr-xr-xmod/network.php3
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']));
}