Browse Source

try to tweek sidebar

andre 4 years ago
parent
commit
f7528a461f

+ 1 - 1
core/UI/Widget/Sidebar/SidebarService.php

@@ -67,7 +67,7 @@ class SidebarService
      */
      */
     public function getSidebar($id){
     public function getSidebar($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];
     }
     }

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

@@ -49,7 +49,7 @@ trait SidebarTrait
     
     
     public function getChild($id){
     public function getChild($id){
         if(!isset($this->children[$id])){
         if(!isset($this->children[$id])){
-            throw new \Exception(sprintf("Sidebar %s does not exist", $id));
+            throw new \Exception(sprintf("Blubb %s does not exist", $id));
         }
         }
         return $this->children[$id];
         return $this->children[$id];
     }
     }