diff options
author | Thomas Willingham <founder@kakste.com> | 2014-06-03 15:44:57 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2014-06-03 15:44:57 +0100 |
commit | 5abd8fa70262627ed71ebf91b3bcdf0f0f03532e (patch) | |
tree | f7b957390c2260afda9fffe3822152fb966d22be | |
parent | c4b0f72032e30ccd45a1a34d507f0af1474bc7fa (diff) | |
download | volse-hubzilla-5abd8fa70262627ed71ebf91b3bcdf0f0f03532e.tar.gz volse-hubzilla-5abd8fa70262627ed71ebf91b3bcdf0f0f03532e.tar.bz2 volse-hubzilla-5abd8fa70262627ed71ebf91b3bcdf0f0f03532e.zip |
Crude, but working bellendian filter.
-rw-r--r-- | mod/network.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index 8202b1044..916ac7ad8 100644 --- a/mod/network.php +++ b/mod/network.php @@ -99,7 +99,8 @@ function network_content(&$a, $update = 0, $load = false) { $conv = ((x($_GET,'conv')) ? intval($_GET['conv']) : 0); $spam = ((x($_GET,'spam')) ? intval($_GET['spam']) : 0); $cmin = ((x($_GET,'cmin')) ? intval($_GET['cmin']) : 0); - $cmax = ((x($_GET,'cmax')) ? intval($_GET['cmax']) : 99); + $cmax = get_pconfig(local_user(), system, cmax); + if (! $cmax) $cmax = ((x($_GET,'cmax')) ? intval($_GET['cmax']) : 99); $firehose = ((x($_GET,'fh')) ? intval($_GET['fh']) : 0); $file = ((x($_GET,'file')) ? $_GET['file'] : ''); |