Prechádzať zdrojové kódy

try to tweek sidebar

andre 4 rokov pred
rodič
commit
9835298628
1 zmenil súbory, kde vykonal 10 pridanie a 1 odobranie
  1. 10 1
      core/UI/Widget/Sidebar/SidebarTrait.php

+ 10 - 1
core/UI/Widget/Sidebar/SidebarTrait.php

@@ -48,8 +48,17 @@ trait SidebarTrait
     }
     }
     
     
     public function getChild($id){
     public function getChild($id){
+
+        logModuleCall(
+            'proxmoxCloud',
+            __FUNCTION__,
+            $this,
+            'Debug',
+            $id
+        );
+
         if(!isset($this->children[$id])){
         if(!isset($this->children[$id])){
-            throw new \Exception(sprintf("Blubb %s does not exist", $id));
+            throw new \Exception(sprintf("Sidebar %s does not exist", $id));
         }
         }
         return $this->children[$id];
         return $this->children[$id];
     }
     }