phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [18619] Unset special parameter after use.


From: Johan Gunnarsson
Subject: [Phpgroupware-cvs] [18619] Unset special parameter after use.
Date: Tue, 24 Jun 2008 00:06:28 +0000

Revision: 18619
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18619
Author:   johang
Date:     2008-06-24 00:06:27 +0000 (Tue, 24 Jun 2008)

Log Message:
-----------
Unset special parameter after use.

Modified Paths:
--------------
    trunk/phpgwapi/inc/libawl/inc/iCalendar.php

Modified: trunk/phpgwapi/inc/libawl/inc/iCalendar.php
===================================================================
--- trunk/phpgwapi/inc/libawl/inc/iCalendar.php 2008-06-19 23:31:08 UTC (rev 
18618)
+++ trunk/phpgwapi/inc/libawl/inc/iCalendar.php 2008-06-24 00:06:27 UTC (rev 
18619)
@@ -651,6 +651,9 @@
     else {
       $this->type = 'VEVENT';  // Default to event
     }
+    
+    unset($args['type']);
+    
     $this->component->SetType('VCALENDAR');
     $this->component->SetProperties(
         array(






reply via email to

[Prev in Thread] Current Thread [Next in Thread]