diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-12 01:26:01 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-12 01:26:01 -0800 |
commit | e8958b1fb85ebcc4c51632a2de746b9aec6f354e (patch) | |
tree | b4b74f9fe5f140bc53830a12691d831ffe6cfa3a /Zotlabs/Widget/Forums.php | |
parent | f0798f78333ef52c0859a57c71fd7502923b4242 (diff) | |
parent | 07b67963f128157e85c891057da2c42c286166e7 (diff) | |
download | volse-hubzilla-e8958b1fb85ebcc4c51632a2de746b9aec6f354e.tar.gz volse-hubzilla-e8958b1fb85ebcc4c51632a2de746b9aec6f354e.tar.bz2 volse-hubzilla-e8958b1fb85ebcc4c51632a2de746b9aec6f354e.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Widget/Forums.php')
-rw-r--r-- | Zotlabs/Widget/Forums.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Forums.php b/Zotlabs/Widget/Forums.php index 91b987746..0b90b9740 100644 --- a/Zotlabs/Widget/Forums.php +++ b/Zotlabs/Widget/Forums.php @@ -11,8 +11,8 @@ class Forums { $o = ''; - if(is_array($arr) && array_key_exists('limit',$arr)) - $limit = " limit " . intval($limit) . " "; + if(is_array($arr) && array_key_exists('limit',$arr) && intval($arr['limit']) >= 0) + $limit = " limit " . intval($arr['limit']) . " "; else $limit = ''; |