1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 04:04:12 +02:00

[ticket/15527] Skip malformed BBCodes during merge_duplicate_bbcodes migration

PHPBB3-15527
This commit is contained in:
JoshyPHP
2018-01-22 02:37:47 +01:00
parent d0143bec88
commit 5c8a667db2
2 changed files with 24 additions and 10 deletions

View File

@@ -37,6 +37,9 @@ class bbcode_merger
*
* All of the arrays contain a "usage" element and a "template" element
*
* @throws InvalidArgumentException if a definition cannot be interpreted
* @throws RuntimeException if something unexpected occurs
*
* @param array $without BBCode definition without an attribute
* @param array $with BBCode definition with an attribute
* @return array Merged definition