magento-2-seo icon indicating copy to clipboard operation
magento-2-seo copied to clipboard

Replaced Laravel function `array_first` with vanilla php function `current`

Open richard-parnaby-king opened this issue 1 year ago • 0 comments

Description (*)

If Laravel is not installed, the function array_first does not exist and will cause Magento application to throw an exception. Replaced this function with vanilla php function current.

Fixed Issues (if relevant)

  1. Fixes https://github.com/mageplaza/magento-2-seo/issues/125

richard-parnaby-king avatar Jul 07 '22 13:07 richard-parnaby-king