Author: Jonathan.Wage
Date: 2010-01-14 01:13:07 +0100 (Thu, 14 Jan 2010)
New Revision: 26600

Modified:
   plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing mistake with previous commit


Modified: plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php
===================================================================
--- plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php     
2010-01-14 00:10:52 UTC (rev 26599)
+++ plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php     
2010-01-14 00:13:07 UTC (rev 26600)
@@ -167,6 +167,7 @@
       sf_format:   (%s)
 ';
 
+      $routes = array();
       $contentTypes = Doctrine::getTable('sfSympalContentType')
         ->createQuery('t')
         ->execute();
@@ -196,7 +197,6 @@
         ->andWhere('s.slug = ?', $siteSlug)
         ->execute();
 
-      $routes = array();
       foreach ($contents as $content)
       {
         $routes['content_'.$content->getId()] = sprintf($routeTemplate,

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