mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
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
|
@ -17,7 +17,7 @@ function tagger_content(App $a) {
|
|||
|
||||
$term = notags(trim($_GET['term']));
|
||||
// no commas allowed
|
||||
$term = str_replace(array(',',' '),array('','_'),$term);
|
||||
$term = str_replace([',',' '],['','_'],$term);
|
||||
|
||||
if(! $term)
|
||||
return;
|
||||
|
@ -104,7 +104,7 @@ EOT;
|
|||
|
||||
$termlink = html_entity_decode('⌗') . '[url=' . System::baseUrl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/url]';
|
||||
|
||||
$arr = array();
|
||||
$arr = [];
|
||||
|
||||
$arr['guid'] = get_guid(32);
|
||||
$arr['uri'] = $uri;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue