diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index 3e932f84be7..b263a35a75d 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -198,7 +198,7 @@ class Translate { // Enable cache of lang file in memory (not by default) $usecachekey=''; // Using a memcached server - if (! empty($conf->memcached->enabled)) + if (! empty($conf->memcached->enabled) && ! empty($conf->global->MEMCACHED_SERVER)) { $usecachekey=$newdomain.'_'.$langofdir; }