diff --git a/plugins/admin/systems/class_servRepositorySetup.inc b/plugins/admin/systems/class_servRepositorySetup.inc
index e8c51274646cc8ec96a49338bff4c9e86612f23a..40f37b0628acca88f431cc89042a7e16b31cdcf2 100644 (file)
function GetHookElements()
{
$ret = array();
- $cmd= search_config($this->config->data['TABS'], "servrepository", "REPOSITORY_HOOK");
+ $cmd = $this->config->search("servrepository", "REPOSITORY_HOOK",array('tabs'));
if(!empty($cmd)){
$res = shell_exec($cmd);
$res2 = trim($res);