Fixes as a result of KH 3.3

This commit is contained in:
Deon George
2013-01-10 22:25:19 +11:00
parent 79bdd4ce51
commit f08215717c
8 changed files with 11 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ class Model_Host_Server extends ORM_OSB {
* Return the object of the product plugin
*/
public function plugin($type='') {
$c = sprintf('Host_Plugin_%s',$this->provision_plugin);
$c = sprintf('Host_Plugin_%s',ucfirst(strtolower($this->provision_plugin)));
if (! $this->provision_plugin OR ! class_exists($c))
return NULL;