several small fixes and adjustments

This commit is contained in:
friendica
2012-12-16 20:20:29 -08:00
parent fa8b4e98b7
commit e9b5b0f0b4
10 changed files with 79 additions and 25 deletions

View File

@@ -561,8 +561,8 @@ function network_content(&$a, $update = 0, $load = false) {
}
else {
$itemspage_network = get_pconfig(local_user(),'system','itemspage_network');
$a->set_pager_itemspage(((intval($itemspage_network)) ? $itemspage_network : 40));
$itemspage = get_pconfig(local_user(),'system','itemspage');
$a->set_pager_itemspage(((intval($itemspage)) ? $itemspage : 40));
$pager_sql = sprintf(" LIMIT %d, %d ",intval($a->pager['start']), intval($a->pager['itemspage']));
}