Author: KRavEN
Date: 2010-02-03 19:56:55 +0100 (Wed, 03 Feb 2010)
New Revision: 27508

Modified:
   plugins/sfExtjs3Plugin/trunk/lib/helper/sfExtjs3Helper.php
Log:
Fixed a warning in isAssoc method

Modified: plugins/sfExtjs3Plugin/trunk/lib/helper/sfExtjs3Helper.php
===================================================================
--- plugins/sfExtjs3Plugin/trunk/lib/helper/sfExtjs3Helper.php  2010-02-03 
18:28:59 UTC (rev 27507)
+++ plugins/sfExtjs3Plugin/trunk/lib/helper/sfExtjs3Helper.php  2010-02-03 
18:56:55 UTC (rev 27508)
@@ -89,6 +89,8 @@
                        'js' => array()); // current js addons
 
   static public function isAssoc($class, $arr){
+    
+    if(!is_array($class)) return false;
 
     // constructors which accept arrays only
     if (in_array($class, array('Ext.XTemplate'))) return false;

-- 
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