CHtml::cssFile() url fix 2 #1542

Merged
merged 1 commit into from Oct 6, 2012
View
2 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);
}
/**