Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/18/2018 10:51:34 PM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: general code review/tweaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/notifications/functions.php

    r11899 r11900  
    122122                return $bp_nouveau->notifications->filters[ $id ];
    123123
    124         // Oops nothing found!
    125124        } else {
    126125                return false;
     
    144143
    145144        foreach ( $filters as $filter ) {
    146                 // Default position
    147145                $position = 99;
    148146
     
    157155                        do {
    158156                                $position += 1;
    159                         } while ( in_array( $position, $sorted_keys ) );
     157                        } while ( in_array( $position, $sorted_keys, true ) );
    160158                }
    161159
Note: See TracChangeset for help on using the changeset viewer.