Fix title handling in HTML builder.

This commit is contained in:
Taylor Otwell committed 2013-07-29 10:33:54 -05:00
1 parent 052dbc46be
commit 81ba215c9c
1 file changed
+1 -1
+1 -1
View File
@@ -123,7 +123,7 @@ class HtmlBuilder {
{
$url = $this->url->to($url, array(), $secure);
$title = $title ?: $url;
if (is_null($title) or $title === false) $title = $uri;
return '<a href="'.$url.'"'.$this->attributes($attributes).'>'.$this->entities($title).'</a>';
}