diff --git a/upload/source/include/thread/thread_album.php b/upload/source/include/thread/thread_album.php index 291a80ce0be3f1177d96667862983ed0720ea846..65e1eed44482f231497aad2cbfa7772ef94a92e0 100644 --- a/upload/source/include/thread/thread_album.php +++ b/upload/source/include/thread/thread_album.php @@ -26,7 +26,7 @@ foreach(C::t('forum_attachment_n')->fetch_all_by_id('tid:'.$_G['tid'], 'tid', $_ if($_G['forum_threadpay'] && !in_array($attach['aid'], $freeattachids)) { continue; } - if($attach['uid'] != $_G['forum_thread']['authorid'] && IN_MOBILE != 2) { + if($attach['uid'] != $_G['forum_thread']['authorid'] && (!defined('IN_MOBILE') || IN_MOBILE != 2)) { continue; } if($attach['isimage'] && !$_G['setting']['attachimgpost']) {