Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:03:05 AM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: use strict type checking for in_array() calls.

File:
1 edited

Legend:

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

    r12104 r12106  
    296296        }
    297297
    298         if ( $notice->id && is_array( $closed_notices ) && ! in_array( $notice->id, $closed_notices ) ) {
     298        if ( $notice->id && is_array( $closed_notices ) && ! in_array( $notice->id, $closed_notices, true ) ) {
    299299                // Inject the notice into the template_message if no other message has priority.
    300300                $bp = buddypress();
Note: See TracChangeset for help on using the changeset viewer.