diff options
-rw-r--r-- | boot.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1046,11 +1046,10 @@ function get_events() { $bd_short = t('F d'); $r = q("SELECT `event`.* FROM `event` - WHERE `event`.`uid` = %d AND `type` != 'birthday' AND `start` < '%s' AND `finish` > '%s' + WHERE `event`.`uid` = %d AND `type` != 'birthday' AND `start` < '%s' ORDER BY `start` DESC ", intval(local_user()), - dbesc(datetime_convert('UTC','UTC','now + 6 days')), - dbesc(datetime_convert('UTC','UTC','now')) + dbesc(datetime_convert('UTC','UTC','now + 6 days')) ); if($r && count($r)) { |