Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

+3 -3
View File
@@ -75,7 +75,7 @@ class LegacyParser
/**
* @brief BBcodes
*/
public static ?array $bbcodes = NULL;
public ?array $bbcodes = NULL;
/**
* @brief Emoticons
@@ -187,7 +187,7 @@ class LegacyParser
/* Grab legacy custom bbcodes */
try
{
$this->bbcodes = iterator_to_array( Db::i()->select( '*', 'custom_bbcode' )->setKeyField( 'bbcode_tag' ) );
$this->bbcodes = iterator_to_array( Db::i()->select( '*', 'convert_custom_bbcode' )->setKeyField( 'bbcode_tag' ) );
}
catch(Db\Exception $e )
{
@@ -484,7 +484,7 @@ class LegacyParser
foreach( $this->parser->bbcodes as $code )
{
/* If we don't have a regex replacement, probably because we used to use a plugin, we can't do this automatically */
if( !$code['bbcode_replace'] )
if( !isset( $code['bbcode_replace'] ) or !$code['bbcode_replace'] )
{
continue;
}