Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed typo

  • Loading branch information...
commit bc09ac9eb0231496e261a5fac2bfd6935ea9f5fe 1 parent b8e5689
@fabpot fabpot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
View
2  src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
@@ -121,7 +121,7 @@ public function render($controller, array $options = array())
$alt = '';
if ($options['alt']) {
- if (is_string($options['alt']) && (0 === strpos($controller, 'http://') || 0 === strpos($controller, 'https://'))) {
+ if (is_string($options['alt']) && (0 === strpos($options['alt'], 'http://') || 0 === strpos($options['alt'], 'https://'))) {
$alt = $options['alt'];
} else {
$alt = $this->generateInternalUri($options['alt'][0], isset($options['alt'][1]) ? $options['alt'][1] : array(), isset($options['alt'][2]) ? $options['alt'][2] : array());
Please sign in to comment.
Something went wrong with that request. Please try again.