WordPress.org

Making WordPress.org

Changeset 3063


Ignore:
Timestamp:
05/03/2016 10:51:01 AM (4 years ago)
Author:
ocean90
Message:

Slack: In Trac::get_ticket_channels() fetch the ticket data so the component and focuses properties are available.

That's an alternative to [3062] which doesn't require systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/slack/trac/trac.php

    r3061 r3063  
    251251        }
    252252
     253        // Component and focuses are needed for the component filters.
     254        if ( $ticket instanceof Ticket  ) {
     255            $ticket->fetch();
     256        }
     257
    253258        if ( isset( $ticket->component ) && isset( $this->ticket_component_filters[ $ticket->component ] ) ) {
    254259            $channels = array_merge( $channels, (array) $this->ticket_component_filters[ $ticket->component ] );
Note: See TracChangeset for help on using the changeset viewer.