Skip to content

Commit

Permalink
array() instead of [] for php 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tantek committed Jun 1, 2015
1 parent 5363b20 commit ae930f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/relmeauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ function discover($source_url, $titles=true) {
}

// clean up the relmes
$urls = [];
$urls = array();
foreach ($relmes as $rel) {
$title = (string) $rel->getAttribute('title');
$url = (string) $rel->getAttribute('href');
Expand Down

0 comments on commit ae930f0

Please sign in to comment.