Skip to content
Snippets Groups Projects
Commit e9e019d5 authored by Adrien Faveraux's avatar Adrien Faveraux
Browse files
parent d470cd28
No related branches found
No related tags found
No related merge requests found
......@@ -30,15 +30,15 @@ class VtigerConfig {
static function get($key, $defvalue='') {
if (self::has($key)) {
global $$key;
return $$key;
global ${$key};
return ${$key};
}
return $defvalue;
}
static function has($key) {
global $$key;
return (isset($$key));
global ${$key};
return (isset(${$key}));
}
static function getOD($key, $defvalue='') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment