Author: FabianLange
Date: 2010-01-21 13:43:21 +0100 (Thu, 21 Jan 2010)
New Revision: 26989

Modified:
   branches/1.2/lib/log/sfVarLogger.class.php
   branches/1.3/lib/log/sfVarLogger.class.php
   branches/1.4/lib/log/sfVarLogger.class.php
Log:
[1.2, 1.3, 1.4] fixed typo in getting Priorities from sfVarLogger (fixes #7938)

Modified: branches/1.2/lib/log/sfVarLogger.class.php
===================================================================
--- branches/1.2/lib/log/sfVarLogger.class.php  2010-01-21 12:42:59 UTC (rev 
26988)
+++ branches/1.2/lib/log/sfVarLogger.class.php  2010-01-21 12:43:21 UTC (rev 
26989)
@@ -96,7 +96,7 @@
     $priorities = array();
     foreach ($this->logs as $log)
     {
-      if (!in_array($log['priority'], $types))
+      if (!in_array($log['priority'], $priorities))
       {
         $priorities[] = $log['priority'];
       }

Modified: branches/1.3/lib/log/sfVarLogger.class.php
===================================================================
--- branches/1.3/lib/log/sfVarLogger.class.php  2010-01-21 12:42:59 UTC (rev 
26988)
+++ branches/1.3/lib/log/sfVarLogger.class.php  2010-01-21 12:43:21 UTC (rev 
26989)
@@ -96,7 +96,7 @@
     $priorities = array();
     foreach ($this->logs as $log)
     {
-      if (!in_array($log['priority'], $types))
+      if (!in_array($log['priority'], $priorities))
       {
         $priorities[] = $log['priority'];
       }

Modified: branches/1.4/lib/log/sfVarLogger.class.php
===================================================================
--- branches/1.4/lib/log/sfVarLogger.class.php  2010-01-21 12:42:59 UTC (rev 
26988)
+++ branches/1.4/lib/log/sfVarLogger.class.php  2010-01-21 12:43:21 UTC (rev 
26989)
@@ -96,7 +96,7 @@
     $priorities = array();
     foreach ($this->logs as $log)
     {
-      if (!in_array($log['priority'], $types))
+      if (!in_array($log['priority'], $priorities))
       {
         $priorities[] = $log['priority'];
       }

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