From a335e61876e7e59a150da18a763a3707a207c55a Mon Sep 17 00:00:00 2001 From: Vaidas Lungis Date: Thu, 8 Jan 2015 13:28:10 +0200 Subject: [PATCH] uppercase first letter of service subservice name Local tests did not failed of case sensitivity issue using virtualbox --- src/bb-library/Box/Mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bb-library/Box/Mod.php b/src/bb-library/Box/Mod.php index 2f7b2fa00..b6be3080d 100644 --- a/src/bb-library/Box/Mod.php +++ b/src/bb-library/Box/Mod.php @@ -124,7 +124,7 @@ class Box_Mod if(!$this->hasService($sub)) { throw new \Box_Exception('Module :mod does not have service class', array(':mod'=>$this->mod), 5898); } - $class = 'Box\\Mod\\'.ucfirst($this->mod).'\\Service'.$sub; + $class = 'Box\\Mod\\'.ucfirst($this->mod).'\\Service'.ucfirst($sub); $service = new $class(); if(method_exists($service, 'setDi')) { $service->setDi($this->di);