Changeset 1749271
- Timestamp:
- 10/19/2017 01:56:43 PM (8 years ago)
- File:
-
- 1 edited
-
fastdee/trunk/includes/core/class-fd-pages.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fastdee/trunk/includes/core/class-fd-pages.php
r1749230 r1749271 34 34 if ( is_array( $arrCategories ) ) { 35 35 36 function _fd_compair ( $a, $b ) {36 function _fd_compair_cat( $a, $b ) { 37 37 return strcmp( $a->name, $b->name ); 38 38 } 39 39 40 usort( $arrCategories, '_fd_compair ' );40 usort( $arrCategories, '_fd_compair_cat' ); 41 41 42 42 return $arrCategories; … … 63 63 if ( is_array( $arrStores ) ) { 64 64 65 function _fd_compair ( $a, $b ) {65 function _fd_compair_store( $a, $b ) { 66 66 return strcmp( $a->name, $b->name ); 67 67 } 68 69 usort( $arrStores, '_fd_compair ' );68 69 usort( $arrStores, '_fd_compair_store' ); 70 70 71 71 return $arrStores;
Note: See TracChangeset
for help on using the changeset viewer.