Permalink
Browse files

fixed typo

  • Loading branch information...
1 parent b8e5689 commit bc09ac9eb0231496e261a5fac2bfd6935ea9f5fe @fabpot fabpot committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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());

0 comments on commit bc09ac9

Please sign in to comment.