Author: FabianLange
Date: 2010-02-05 19:07:39 +0100 (Fri, 05 Feb 2010)
New Revision: 27605

Modified:
   branches/1.4/lib/helper/UrlHelper.php
Log:
[1.4] fixed wrong line modified in r27597

Modified: branches/1.4/lib/helper/UrlHelper.php
===================================================================
--- branches/1.4/lib/helper/UrlHelper.php       2010-02-05 17:54:49 UTC (rev 
27604)
+++ branches/1.4/lib/helper/UrlHelper.php       2010-02-05 18:07:39 UTC (rev 
27605)
@@ -110,7 +110,7 @@
 {
   // for BC with 1.1
   $arguments = func_get_args();
-  if (is_array($arguments[0]) || is_array($arguments[1]) || '@' == 
substr($arguments[0], 0, 1) || false !== strpos($arguments[0], '/'))
+  if (is_array($arguments[0]) || '@' == substr($arguments[0], 0, 1) || false 
!== strpos($arguments[0], '/'))
   {
     return call_user_func_array('url_for1', $arguments);
   }
@@ -163,7 +163,7 @@
 {
   // for BC with 1.1
   $arguments = func_get_args();
-  if (empty($arguments[1]) || '@' == substr($arguments[1], 0, 1) || false !== 
strpos($arguments[1], '/'))
+  if (empty($arguments[1]) || is_array($arguments[1]) || '@' == 
substr($arguments[1], 0, 1) || false !== strpos($arguments[1], '/'))
   {
     return call_user_func_array('link_to1', $arguments);
   }

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