mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 02:10:46 +02:00
Update check_class to take better account of E_UC_PUBLIC
This commit is contained in:
@@ -42,7 +42,7 @@ else
|
||||
{
|
||||
if(strstr($postID,'class:'))
|
||||
{
|
||||
$uc = substr($postID,6).','.e_UC_PUBLIC; // Not ideal, but 'Everyone' class not necessarily present
|
||||
$uc = substr($postID,6);
|
||||
$can_show = check_class($pref['image_post_class'],$uc);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user