$term = notags(trim($_GET['term']));
// no commas allowed
- $term = str_replace(array(',',' '),array('','_'),$term);
+ $term = str_replace([',',' '],['','_'],$term);
if(! $term)
return;
$termlink = html_entity_decode('⌗') . '[url=' . System::baseUrl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/url]';
- $arr = array();
+ $arr = [];
$arr['guid'] = get_guid(32);
$arr['uri'] = $uri;