Plugin Directory

Changeset 1264735


Ignore:
Timestamp:
10/13/2015 09:12:48 AM (10 years ago)
Author:
uiux
Message:

fixing issue with display date

Location:
timelinejs/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • timelinejs/trunk/timeline-post-categories.php

    r1264734 r1264735  
    9494
    9595    $display_date = get_field('tle_display_date', $post->ID);
    96     $display_date = ($display_date != null) ? $display_date : false;
     96    $display_date = ($display_date != null) ? $display_date : '';
    9797
    9898    $background_image = get_field('tle_background_image', $post->ID);
  • timelinejs/trunk/timeline.php

    r1264734 r1264735  
    146146
    147147        $display_date = get_field('tle_display_date', $event->ID);
    148         $display_date = ($display_date != null) ? $display_date : false;
     148        $display_date = ($display_date != null) ? $display_date : '';
    149149
    150150        $group = get_field('tle_group', $event->ID);
Note: See TracChangeset for help on using the changeset viewer.