Skip to content

Commit

Permalink
! no calendar entries = hidden on info center fix#1863
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Nov 5, 2014
1 parent 2ee8db4 commit 03f007c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion themes/default/BoardIndex.template.php
Expand Up @@ -12,7 +12,7 @@
* license: BSD, See included LICENSE.TXT for terms and conditions.
*
* @version 1.0
*
*
*/

/**
Expand Down Expand Up @@ -240,6 +240,9 @@ function template_ic_show_events()
{
global $context, $txt, $scripturl, $settings;

if (empty($context['calendar_holidays']) && empty($context['calendar_birthdays']) && empty($context['calendar_events']))
return;

echo '
<li class="board_row">
<h3 class="ic_section_header">
Expand Down

0 comments on commit 03f007c

Please sign in to comment.