Skip to content

Commit

Permalink
Merge pull request #1542 from creocoder/chtml-css-file-fix2
Browse files Browse the repository at this point in the history
CHtml::cssFile() url fix 2
  • Loading branch information
samdark committed Oct 6, 2012
2 parents 51333b6 + a2c1b44 commit a48a1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/web/helpers/CHtml.php
Expand Up @@ -270,7 +270,7 @@ public static function refresh($seconds, $url='')
*/ */
public static function cssFile($url,$media='') public static function cssFile($url,$media='')
{ {
return CHtml::linkTag('stylesheet','text/css',self::encode($url),$media!=='' ? $media : null); return CHtml::linkTag('stylesheet','text/css',$url,$media!=='' ? $media : null);
} }


/** /**
Expand Down

0 comments on commit a48a1cc

Please sign in to comment.