Parcourir la source

try to tweek sidebar

andre il y a 4 ans
Parent
commit
f7528a461f

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

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

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

@@ -49,7 +49,7 @@ trait SidebarTrait
     
     public function getChild($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];
     }