Merge pull request #146 from ruleant/bug_3783
fix bug #3783, instanciate class before calling static method
This commit is contained in:
commit
4aa55cb334
@ -147,7 +147,8 @@ function PMA_getTransformationDescription($file, $html_formatted = true)
|
||||
|
||||
// include and instantiate the class
|
||||
include_once 'libraries/plugins/transformations/' . $file;
|
||||
return $class_name->getInfo();
|
||||
$class = new $class_name;
|
||||
return $class->getInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user