Skip to content
Snippets Groups Projects
Commit 2fe78b84 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent b362985d
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment