From 69afbdf08eb2c5e56e89c1a2b5e7a0b6f91c9c12 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 8 May 2010 12:03:08 +0000 Subject: [PATCH] Change to allow usage of different caching systems --- htdocs/core/class/translate.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index 7e0d79dde18..393ea5b34e6 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -271,7 +271,7 @@ class Translate { if ($alt == 2 && $usecachekey && sizeof($tabtranslatedomain)) { require_once(DOL_DOCUMENT_ROOT ."/lib/memory.lib.php"); - $size=dol_setcache($newdomain,$tabtranslatedomain); + $size=dol_setcache($usecachekey,$tabtranslatedomain); } //exit; break; // Break loop on each root dir