Plugin Directory

Changeset 1743590


Ignore:
Timestamp:
10/09/2017 09:11:24 PM (8 years ago)
Author:
griffinjt
Message:

Fix issue with PHP version.

Location:
envira-gallery-lite
Files:
173 added
1 edited

Legend:

Unmodified
Added
Removed
  • envira-gallery-lite/trunk/includes/admin/am-notifications.php

    r1743545 r1743590  
    512512            // Loop through each of the IDs and find the post that has it as meta.
    513513            foreach ( (array) $ids as $id ) {
    514                 $notifications = $this->get_plugin_notifications( -1, [ 'post_status' => 'all', 'meta_key' => 'notification_id', 'meta_value' => $id ] );
     514                $notifications = $this->get_plugin_notifications( -1, array( 'post_status' => 'all', 'meta_key' => 'notification_id', 'meta_value' => $id ) );
    515515                if ( $notifications ) {
    516516                    foreach ( $notifications as $notification ) {
Note: See TracChangeset for help on using the changeset viewer.