Pagina 1 di 1

Problema con Advanced BBCode Box 3

Inviato: 24/11/2012, 16:04
da intxeon
Salve a tutti
Oggi ho installato questa Mod.
Tutto sembrava essere andato a buon fine,però nel momento in cui invio un post che contiene uno spoiler o un altro elemento particolare,mi esce questo errore:

Codice: Seleziona tutto

[phpBB Debug] PHP Warning: in file [ROOT]/includes/message_parser.php on line 1169: in_array() expects parameter 2 to be array, null given
Ho fatto alcune prove ed il codice che restituisce questo errore è:

Codice: Seleziona tutto

// MOD : MSSTI ABBC3 - Start
		// Check phpbb permissions status
		// Check ABBC3 groups permission
		// try to make it as quicky as it can be 
		foreach ($this->bbcodes as $bbcode_name => $bbcode_data)
		{
			$auth_tag = preg_replace('#\=(.*)?#', '', strtoupper(trim($bbcode_name)));
			if ((isset($bbcode_data['bbcode_group']) && $bbcode_data['bbcode_group']) || in_array($auth_tag, $this->need_permissions))
			{
				if (!$this->abbcode_permissions($auth_tag, (isset($bbcode_data['bbcode_group']) ? $bbcode_data['bbcode_group'] : 0)))
				{
					$this->bbcodes[$bbcode_name]['disabled'] = true;
				}
			}
		}
// MOD : MSSTI ABBC3 - End
Qualcuno mi può aiutare?

Grazie