From 436bafc18ebc494a9cfd7bce111b6bb5fa4ad52f Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 21 Nov 2006 17:09:14 +0000 Subject: [PATCH] Got rid of a warning. --- .../src/modules/htmlUI/var/templates/scheduler/day.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/campcaster/src/modules/htmlUI/var/templates/scheduler/day.tpl b/campcaster/src/modules/htmlUI/var/templates/scheduler/day.tpl index 91a3bb49b..cc40ff784 100644 --- a/campcaster/src/modules/htmlUI/var/templates/scheduler/day.tpl +++ b/campcaster/src/modules/htmlUI/var/templates/scheduler/day.tpl @@ -20,7 +20,7 @@ {foreach from=$_scale item="_hour"} - {if is_array($_entrys[$_hour])} + {if isset($_hour) && is_array($_entrys[$_hour])} {$_hour|string_format:"%02d"}:00 @@ -41,13 +41,13 @@ {include file="scheduler/between_additem.tpl"} {/if} - {if $_entrys[$_hour].start} + {if $_entrys[$_hour].start} {foreach from=$_entrys[$_hour].start item="i"}
  {$i.title} - + {if $i.endstoday} {$i.start} - {$i.end} {$i.creator}