mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
PHP8 fixes and shortcode tests for forum, gallery, hero and login_menu. admin-shortcode time fix.
This commit is contained in:
@@ -1942,6 +1942,11 @@ class e107forum
|
||||
|
||||
function forumGetAllowed($type='view')
|
||||
{
|
||||
if(empty($this->permList[$type]))
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
$sql = e107::getDb();
|
||||
$forumList = implode(',', $this->permList[$type]);
|
||||
$qry = "
|
||||
|
Reference in New Issue
Block a user