diff options
author | friendica <info@friendica.com> | 2013-06-16 20:44:29 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-06-16 20:44:29 -0700 |
commit | 28cd8594a7dcaf7d21b8b92c44ace34dc8aa6dd4 (patch) | |
tree | 3ab9fa8c4b810cc9f5626e3585b45fb047623c5e /include/text.php | |
parent | 764ee785f5505c2be804a850b8e4029598d81739 (diff) | |
download | volse-hubzilla-28cd8594a7dcaf7d21b8b92c44ace34dc8aa6dd4.tar.gz volse-hubzilla-28cd8594a7dcaf7d21b8b92c44ace34dc8aa6dd4.tar.bz2 volse-hubzilla-28cd8594a7dcaf7d21b8b92c44ace34dc8aa6dd4.zip |
implement 'can_comment_on_post()' which doesn't require a separate DB lookup per item.
Diffstat (limited to 'include/text.php')
-rwxr-xr-x | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 71f2257ac..c51ee0bd2 100755 --- a/include/text.php +++ b/include/text.php @@ -1794,7 +1794,7 @@ function ids_to_querystr($arr,$idx = 'id') { // author_xchan and owner_xchan. If $abook is true also include the abook info. // This is needed in the API to save extra per item lookups there. -function xchan_query(&$items,$abook = false) { +function xchan_query(&$items,$abook = true) { $arr = array(); if($items && count($items)) { foreach($items as $item) { |