Перейти к содержанию

shadowbringer

Пользователи
  • Постов

    7
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные shadowbringer

  1. 	public static function getItemsWithPermission( $where=array(), $order=NULL, $limit=10, $permissionKey='read', $includeHiddenItems=\IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags=0, \IPS\Member $member=NULL, $joinContainer=FALSE, $joinComments=FALSE, $joinReviews=FALSE, $countOnly=FALSE, $joins=NULL, $skipPermission=FALSE, $joinTags=TRUE, $joinAuthor=TRUE, $joinLastCommenter=TRUE, $showMovedLinks=FALSE )
    	{
    		$member = $member ?: \IPS\Member::loggedIn();
    		if ( !$member->isAdmin() )
    		{
    			$joinContainer = TRUE;
    		}
    		
    		return parent::getItemsWithPermission( $where, $order, $limit, $permissionKey, $includeHiddenItems, $queryFlags, $member, $joinContainer, $joinComments, $joinReviews, $countOnly, $joins, $skipPermission, $joinTags, $joinAuthor, $joinLastCommenter, $showMovedLinks );
    	}

    this function is the problem i think it should be converted to php 8.0+

    this function is present in 2 files sources\Tournaments\Tournaments.php and sources\Teams\Teams.php

×
×
  • Создать...