fixup vicci
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 29 Apr 2022 11:07:21 +0000 (13:07 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 29 Apr 2022 11:07:21 +0000 (13:07 +0200)
modules/planetlab.module

index 5d9d7f4..746472f 100644 (file)
@@ -106,8 +106,7 @@ function planetlab_block($op = 'list', $delta = 0, $edit = array()) {
   } else if ($op == 'view') {
     $block = array();
 
-//    if ($plc->hide_planetlab_block) {
-    if (false) {
+    if (property_exists($plc, 'hide_planetlab_block')) {
       // do nothing
       // this is a private hook from the Vicci module to hide the planetlab module
     } else if (!$plc->person) {