Make WordPress Core

Changeset 433


Ignore:
Timestamp:
10/08/2003 02:06:03 PM (22 years ago)
Author:
emc3
Message:

Back to no calendar display if no posts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2calendar.php

    r431 r433  
    6161    $gotsome = $wpdb->get_var("SELECT ID from $tableposts WHERE post_status = 'publish' AND post_category > 0 ORDER BY post_date DESC LIMIT 1");
    6262    if (!$gotsome)
    63         // if all else fails, just show this month's calendar
    64         $calendar = date('Ym');
     63        return;
    6564}
    6665
Note: See TracChangeset for help on using the changeset viewer.