From 81ba215c9c884ae7b3943c0efdf6f8a3d88154e1 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 29 Jul 2013 10:33:54 -0500 Subject: [PATCH] Fix title handling in HTML builder. --- HtmlBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HtmlBuilder.php b/HtmlBuilder.php index 31766e9..91a437f 100755 --- a/HtmlBuilder.php +++ b/HtmlBuilder.php @@ -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 'attributes($attributes).'>'.$this->entities($title).''; }