fixed bug in html link methods.

This commit is contained in:
Taylor Otwell 2011-06-16 21:27:14 -05:00
parent bf44ce81d7
commit 4669911d61

View File

@ -58,7 +58,7 @@ class HTML {
* @param array $attributes
* @return string
*/
public static function link_to_secure($url, $title, $attributes)
public static function link_to_secure($url, $title, $attributes = array())
{
return static::link($url, $title, $attributes, true);
}
@ -71,7 +71,7 @@ class HTML {
* @param array $attributes
* @return string
*/
public static function link_to_asset($url, $title, $attributes)
public static function link_to_asset($url, $title, $attributes = array())
{
return static::link($url, $title, $attributes, false, true);
}