Labels |
Added:
?
|
Looks like we have a solution here:
https://github.com/ramsey/array_column
@mbabker sugested this package https://github.com/symfony/polyfill-php55
we shouldn't add a package only because of one use of this function
I will make a patch
@rdeutz FWIW when the joomla/registry
package gets updated again the symfony/polyfill-php55
package will get pulled in as a dependency of it because I changed the JSON format object's stringToObject()
method to throw an Exception on a json_decode()
error and use json_last_error_msg()
to get the message (function added in PHP 5.5). So the polyfill will inherently be pulled into the CMS at some point.
Closed as we have a PR #10943
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-06-27 13:33:31 |
Closed_By | ⇒ | brianteeman |
There's already an API function doing the same like array_column:
ArrayHelper::getColumn($redirects, 'old_url')
Labels |
Removed:
?
|
Labels |
Added:
?
|
Looks like this was added here #10670
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10942.