Plugin Directory

Changeset 1749271


Ignore:
Timestamp:
10/19/2017 01:56:43 PM (8 years ago)
Author:
devlucasmendes
Message:

fix fnc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fastdee/trunk/includes/core/class-fd-pages.php

    r1749230 r1749271  
    3434            if ( is_array( $arrCategories ) ) {
    3535
    36                 function _fd_compair( $a, $b ) {
     36                function _fd_compair_cat( $a, $b ) {
    3737                    return strcmp( $a->name, $b->name );
    3838                }
    3939
    40                 usort( $arrCategories, '_fd_compair' );
     40                usort( $arrCategories, '_fd_compair_cat' );
    4141
    4242                return $arrCategories;
     
    6363            if ( is_array( $arrStores ) ) {
    6464
    65                 function _fd_compair( $a, $b ) {
     65                function _fd_compair_store( $a, $b ) {
    6666                    return strcmp( $a->name, $b->name );
    6767                }
    68                
    69                 usort( $arrStores, '_fd_compair' );
     68
     69                usort( $arrStores, '_fd_compair_store' );
    7070
    7171                return $arrStores;
Note: See TracChangeset for help on using the changeset viewer.