Skip to content

Commit

Permalink
fix: network comp for porclimate sites
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Feb 2, 2024
1 parent 6fdc23f commit 8be55d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/templates/sitebar.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ foreach($o as $key => $val)
if (($key == "obhistory") && preg_match('/COCORAHS/', $network) > 0){
continue;
}
if (($key == "porclimo") && preg_match('/CLIMATE/', $network) === FALSE){
if (($key == "porclimo") && (preg_match('/CLIMATE/', $network) == 0)){
continue;
}
if ((array_key_exists("azos", $val) && preg_match('/ASOS|ISUSM/', $network) <= 0) &&
Expand Down

0 comments on commit 8be55d1

Please sign in to comment.