mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* fixed viewing thread without being logged
* removed unused and wrong function OTS_Account::getLastLogin() (field lastday is used for premium)
This commit is contained in:
@@ -21,7 +21,7 @@ if(empty($thread_name['name'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(Forum::hasAccess($thread_name['section'])) {
|
||||
if(!Forum::hasAccess($thread_name['section'])) {
|
||||
echo "You don't have access to view this thread.";
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user