]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost/theme.php
Merge pull request #4243 from MrPetovan/task/switch-to-array-new-style
[friendica.git] / view / theme / frost / theme.php
index f661546b39fef5c5d0e06e5f77d7404df2d150d3..22733e8d111462aa718ba431bbb00ed132fd444d 100644 (file)
@@ -55,7 +55,7 @@ function frost_item_photo_links(App $a, &$body_info)
        while($p !== false && ($occurence++ < 500)) {
                $link = substr($body_info['html'], $p['start'], $p['end'] - $p['start']);
 
-               $matches = array();
+               $matches = [];
                preg_match("/\/photos\/[\w]+\/image\/([\w]+)/", $link, $matches);
                if($matches) {