From: Stricted Date: Mon, 11 Jan 2016 15:49:12 +0000 (+0100) Subject: fix last commit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfc25f4b7d8ed9af9b70808953b6fb30fdec3772;p=GitHub%2FStricted%2FDomain-Control-Panel.git fix last commit --- 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); }