Commit 2fe78b84 authored by Dries's avatar Dries
Browse files

- Patch #40631 by Chris Johnson: added missing isset().

parent b362985d
...@@ -60,7 +60,7 @@ function chameleon_page($content) { ...@@ -60,7 +60,7 @@ function chameleon_page($content) {
if (isset($primary_links)) { if (isset($primary_links)) {
$output .= '<div class="primary">'. $primary_links .'</div>'; $output .= '<div class="primary">'. $primary_links .'</div>';
} }
if (($secondary_links)) { if (isset($secondary_links)) {
$output .= '<div class="secondary">'. $secondary_links .'</div>'; $output .= '<div class="secondary">'. $secondary_links .'</div>';
} }
$output .= " </div>\n"; $output .= " </div>\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment