Changeset 25018 for trunk/tags.php


Ignore:
Timestamp:
Oct 19, 2013, 7:43:04 PM (11 years ago)
Author:
mistic100
Message:

remove all array_push (50% slower than []) + some changes missing for feature:2978

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tags.php

    r20609 r25018  
    132132    }
    133133
    134     array_push(
    135       $letter['tags'],
    136       array_merge(
    137         $tag,
    138         array(
    139           'URL' => make_index_url(
    140             array(
    141               'tags' => array($tag),
    142               )
    143             ),
    144           )
     134    $letter['tags'][] = array_merge(
     135      $tag,
     136      array(
     137        'URL' => make_index_url(array('tags' => array($tag))),
    145138        )
    146139      );
Note: See TracChangeset for help on using the changeset viewer.