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
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ public static function link($url, $title, $attributes = array(), $https = false,
* @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 @@ public static function link_to_secure($url, $title, $attributes)
* @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);
}