Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
This commit is contained in:
parent
77dfbaa0bf
commit
e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue