concretecms / concrete5-legacy

Legacy repository for concrete5
http://www.concrete5.org
559 stars 323 forks source link

convert empty string to array due to bad usages #1957

Closed Remo closed 7 years ago

Remo commented 7 years ago

We have a number of cases where the third parameter of submit is an empty string '' . That causes an illegal offset warning. It would be nice if that wouldn't happen anywhere and we should fix it there, but this might be the easier and quicker band-aid.

Here's an example https://github.com/concrete5/addon_internationalization/blob/master/packages/multilingual/single_pages/dashboard/multilingual/page_report.php#L74