Changeset 425
- Timestamp:
- 10/07/03 18:19:47 (5 years ago)
- Files:
-
- trunk/b2calendar.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/b2calendar.php
r410 r425 56 56 require_once($abspath.$b2inc.'/b2functions.php'); 57 57 require_once($abspath.$b2inc.'/b2vars.php'); 58 59 // Quick check. If we have no posts at all, abort! 60 $gotsome = $wpdb->get_var("SELECT ID from $tableposts WHERE post_status = 'publish' AND post_category > 0 ORDER BY post_date DESC LIMIT 1"); 61 if (!$gotsome) 62 return; 58 63 59 64 $w = $HTTP_GET_VARS['w'];
