From cfc25f4b7d8ed9af9b70808953b6fb30fdec3772 Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 11 Jan 2016 16:49:12 +0100 Subject: [PATCH] fix last commit --- lib/system/DNS.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/system/DNS.class.php b/lib/system/DNS.class.php index b5d2c87..4dee3fe 100644 --- a/lib/system/DNS.class.php +++ b/lib/system/DNS.class.php @@ -265,7 +265,7 @@ class DNS { $dir = $dir[0]; } - $filename = "lang.".$lang['languageCode'].".".$content.".tpl"; + $filename = "lang.".$lang['languageCode'].".".$item.".tpl"; if (file_exists($dir.$filename)) { $mtime = filemtime($dir.$filename); $maxLifetime = 3600; @@ -277,7 +277,7 @@ class DNS { if (!file_exists($dir.$filename)) { $h = fopen($dir.$filename, "a+"); - fwrite($h, $lang[$content]); + fwrite($h, $lang[$item]); fclose($h); } -- 2.20.1