mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
Enclosed a debug statement in an if(debug){} block.
This commit is contained in:
parent
33ace3a0cd
commit
bab9273bb9
@ -1346,7 +1346,10 @@
|
|||||||
$event_time = mktime($event['start']['hour'],$event['start']['min'],0,intval(substr($date,4,2)),intval(substr($date,6,2)),intval(substr($date,0,4))) - $this->datetime->tz_offset;
|
$event_time = mktime($event['start']['hour'],$event['start']['min'],0,intval(substr($date,4,2)),intval(substr($date,6,2)),intval(substr($date,0,4))) - $this->datetime->tz_offset;
|
||||||
while($inserted == False && list($key,$exception_time) = each($event['recur_exception']))
|
while($inserted == False && list($key,$exception_time) = each($event['recur_exception']))
|
||||||
{
|
{
|
||||||
echo '<!-- checking exception datetime '.$exception_time.' to event datetime '.$event_time.' -->'."\n";
|
if($this->debug)
|
||||||
|
{
|
||||||
|
echo '<!-- checking exception datetime '.$exception_time.' to event datetime '.$event_time.' -->'."\n";
|
||||||
|
}
|
||||||
if($exception_time == $event_time)
|
if($exception_time == $event_time)
|
||||||
{
|
{
|
||||||
$inserted = True;
|
$inserted = True;
|
||||||
|
Loading…
Reference in New Issue
Block a user