diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index 54def5f6e51231711b2095c0a77f5a9b86368a9f..da80828f4862c24c6c2ea194fd60c34e7b0f8752 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -60,7 +60,7 @@ function chameleon_page($content) {
     if (isset($primary_links)) {
       $output .= '<div class="primary">'. $primary_links .'</div>';
     }
-    if (($secondary_links)) {
+    if (isset($secondary_links)) {
       $output .= '<div class="secondary">'. $secondary_links .'</div>';
     }
     $output .= " </div>\n";