diff options
author | friendica <info@friendica.com> | 2012-03-31 17:44:34 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-31 17:44:34 -0700 |
commit | e6fd6bfd89ada9b5aeea8fcac1614546deba85aa (patch) | |
tree | 1fdb0401ee9bf7156477841d8d69f8316122499e /include/conversation.php | |
parent | 2147e0a71fab98fd6e11b1ca54e46821c8829213 (diff) | |
download | volse-hubzilla-e6fd6bfd89ada9b5aeea8fcac1614546deba85aa.tar.gz volse-hubzilla-e6fd6bfd89ada9b5aeea8fcac1614546deba85aa.tar.bz2 volse-hubzilla-e6fd6bfd89ada9b5aeea8fcac1614546deba85aa.zip |
more error handling
Diffstat (limited to 'include/conversation.php')
-rwxr-xr-x | include/conversation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index a9fb807ad..5a922b2b5 100755 --- a/include/conversation.php +++ b/include/conversation.php @@ -250,7 +250,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) { $threads = array(); $threadsid = -1; - if(count($items)) { + if($items && count($items)) { if($mode === 'network-new' || $mode === 'search' || $mode === 'community') { |