]> git.mxchange.org Git - friendica.git/blobdiff - mod/subthread.php
Standards and a new function to fetch content
[friendica.git] / mod / subthread.php
index e2c11d0a3fe3f989384add6b0b304491d207038b..0b6f4ecaaaad33d0289752603d9aacf61dc15fd5 100644 (file)
@@ -23,7 +23,7 @@ function subthread_content(App $a) {
        $item_id = (($a->argc > 1) ? notags(trim($a->argv[1])) : 0);
 
        $condition = ["`parent` = ? OR `parent-uri` = ? AND `parent` = `id`", $item_id, $item_id];
-       $item = Item::selectFirst(local_user(), [], $condition);
+       $item = Item::selectFirst([], $condition);
 
        if (empty($item_id) || !DBM::is_result($item)) {
                logger('subthread: no item ' . $item_id);