Revision: 2258
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2258&view=rev
Author:   cimorrison
Date:     2012-01-27 11:15:03 +0000 (Fri, 27 Jan 2012)
Log Message:
-----------
Fixed bug causing property parameters not to be recognised properly

Modified Paths:
--------------
    mrbs/branches/ics_import/web/functions_ical.inc

Modified: mrbs/branches/ics_import/web/functions_ical.inc
===================================================================
--- mrbs/branches/ics_import/web/functions_ical.inc     2012-01-27 10:34:05 UTC 
(rev 2257)
+++ mrbs/branches/ics_import/web/functions_ical.inc     2012-01-27 11:15:03 UTC 
(rev 2258)
@@ -250,6 +250,7 @@
   $hour = substr($time, 0, 2);
   $minute = substr($time, 2, 2);
   $second = substr($time, 4, 2);
+
   if (isset($this_timezone))
   {
     if (strtoupper($this_timezone) == 'UTC')
@@ -609,10 +610,9 @@
     do 
     {
       $tmp = preg_split('/([;:])/' , $tmp[2], 2, PREG_SPLIT_DELIM_CAPTURE);
-      $param = array();
       list($param_name, $param_value) = explode('=', $tmp[0], 2);
       // The parameter value can be a quoted string, so get rid of any double 
quotes
-      $param[$param_name] = ical_unescape_quoted_string($param_value);
+      $params[$param_name] = ical_unescape_quoted_string($param_value);
     }
     while ($tmp[1] != ':');
   }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to