diff --git a/interface/web/dashboard/dashlets/limits.php b/interface/web/dashboard/dashlets/limits.php index c2abb1c65a857117e3fe4bbdb3478533397b4049..0f01ca235bd3e3c47f6df2782661089b25d7edb3 100644 --- a/interface/web/dashboard/dashlets/limits.php +++ b/interface/web/dashboard/dashlets/limits.php @@ -106,8 +106,9 @@ class dashlet_limits { $tpl = new tpl; $tpl->newTemplate("dashlets/templates/limits.htm"); + $wb = array(); $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_limits.lng'; - include($lng_file); + if(is_file($lng_file)) include($lng_file); $tpl->setVar($wb); if($app->auth->is_admin()) { diff --git a/interface/web/dashboard/dashlets/modules.php b/interface/web/dashboard/dashlets/modules.php index 7824cd5a18f2af6a3405b9bc1847fe66e17bbdbd..fa3f761085b90774bdc62e6e047ed6918726dc47 100644 --- a/interface/web/dashboard/dashlets/modules.php +++ b/interface/web/dashboard/dashlets/modules.php @@ -11,8 +11,9 @@ class dashlet_modules { $tpl = new tpl; $tpl->newTemplate("dashlets/templates/modules.htm"); + $wb = array(); $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_modules.lng'; - include($lng_file); + if(is_file($lng_file)) include($lng_file); $tpl->setVar($wb); /*