Author: Jonathan.Wage
Date: 2010-02-10 17:18:53 +0100 (Wed, 10 Feb 2010)
New Revision: 27825

Modified:
   
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing issue with content slot types being over 
written


Modified: 
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php
===================================================================
--- 
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php 
    2010-02-10 16:13:34 UTC (rev 27824)
+++ 
plugins/sfSympalPlugin/trunk/lib/model/doctrine/PluginsfSympalContent.class.php 
    2010-02-10 16:18:53 UTC (rev 27825)
@@ -190,7 +190,7 @@
       $slot = $this->getSlot($name);
     }
 
-    if ($slot->type != $type)
+    if ($type != null && $slot->type != $type)
     {
       $slot->type = $type;
       $slot->save();

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to