diff --git a/core/includes/menu.inc b/core/includes/menu.inc
index e23b42e..b8e9401 100644
--- a/core/includes/menu.inc
+++ b/core/includes/menu.inc
@@ -1745,7 +1745,7 @@ function theme_menu_local_action($variables) {
$output = '
';
// @todo Remove this check and the call to l() when all pages are converted to
// routes.
- if (isset($link['href'])) {
+ if (!empty($link['href'])) {
$output .= l($link['title'], $link['href'], $link['localized_options']);
}
else {