Merge pull request #855 from mailpoet/php53-fix

Fixes reference to self in anonymous function [MAILPOET-871]
This commit is contained in:
stoletniy
2017-03-31 21:31:20 +03:00
committed by GitHub

View File

@@ -48,7 +48,7 @@ class Links {
if($shortcodes) {
$extracted_links = array_map(function($shortcode) {
return array(
'type' => self::LINK_TYPE_SHORTCODE,
'type' => Links::LINK_TYPE_SHORTCODE,
'html' => $shortcode,
'link' => $shortcode
);