Permalink
Browse files

fixed bug with image tag helper

  • Loading branch information...
jaz303 committed Feb 24, 2010
1 parent 798ead8 commit 79388f97c5e618f5c32dfd0771e11d2ff7a71d3b
Showing with 3 additions and 3 deletions.
  1. +1 −1 helpers-5.3.php
  2. +1 −1 helpers.php
  3. +1 −1 src/tag.php
View
@@ -297,7 +297,7 @@ function i($src, $options_or_selector = array(), $options = array()) {
$options += parse_simple_selector($options_or_selector);
$options['src'] = url_for_image($src);
$options += array('alt' => '');
- return empty_tag('img', $as, $options);
+ return empty_tag('img', $options);
}
function link_to($html, $url, $options = array()) {
View
@@ -297,7 +297,7 @@ function i($src, $options_or_selector = array(), $options = array()) {
$options += parse_simple_selector($options_or_selector);
$options['src'] = url_for_image($src);
$options += array('alt' => '');
- return empty_tag('img', $as, $options);
+ return empty_tag('img', $options);
}
function link_to($html, $url, $options = array()) {
View
@@ -36,7 +36,7 @@ function i($src, $options_or_selector = array(), $options = array()) {
$options += parse_simple_selector($options_or_selector);
$options['src'] = url_for_image($src);
$options += array('alt' => '');
- return empty_tag('img', $as, $options);
+ return empty_tag('img', $options);
}
function link_to($html, $url, $options = array()) {

0 comments on commit 79388f9

Please sign in to comment.