Permalink
Browse files

Merge pull request #1542 from creocoder/chtml-css-file-fix2

CHtml::cssFile() url fix 2
  • Loading branch information...
2 parents 51333b6 + a2c1b44 commit a48a1ccfa637d4966f6d4890308b4ede62c5d275 @samdark samdark committed Oct 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/web/helpers/CHtml.php
@@ -270,7 +270,7 @@ public static function refresh($seconds, $url='')
*/
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);
}
/**

0 comments on commit a48a1cc

Please sign in to comment.