From 4669911d618daf7f1c3742e509838cba2d3c01ee Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 16 Jun 2011 21:27:14 -0500 Subject: [PATCH] fixed bug in html link methods. --- system/html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/html.php b/system/html.php index 09fb02ec..298046f5 100644 --- a/system/html.php +++ b/system/html.php @@ -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); }