Merge pull request #11593 from udan11/QA_4_5

Fix error message in sql-parser.
This commit is contained in:
Marc Delisle 2015-10-21 16:39:48 -04:00
commit 16729d1b90

View File

@ -145,7 +145,9 @@ class OptionsArray extends Component
$parser->error(
sprintf(
__('This option conflicts with "%1$s".'),
$ret->options[$lastOptionId]
is_array($ret->options[$lastOptionId])
? $ret->options[$lastOptionId]['name']
: $ret->options[$lastOptionId]
),
$token
);