Commit 4669911d authored by Taylor Otwell's avatar Taylor Otwell

fixed bug in html link methods.

parent bf44ce81
...@@ -58,7 +58,7 @@ class HTML { ...@@ -58,7 +58,7 @@ class HTML {
* @param array $attributes * @param array $attributes
* @return string * @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); return static::link($url, $title, $attributes, true);
} }
...@@ -71,7 +71,7 @@ class HTML { ...@@ -71,7 +71,7 @@ class HTML {
* @param array $attributes * @param array $attributes
* @return string * @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); return static::link($url, $title, $attributes, false, true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment