private static function getSubscriptionsOwn(GWF_ForumThread $thread, $show_hidden) { $table = new GWF_ForumPost(false); $tid = $thread->getID(); $own = GWF_ForumOptions::SUBSCRIBE_OWN; $hidden_query = self::getHiddenQuery($show_hidden); if (false === ($rows = $table->selectColumn('post_uid', "post_tid={$tid} AND fopt_subscr='{$own}' AND ({$hidden_query})", '', array('post_useropts')))) { return array(); } return self::getSubscrConverted($rows); }