From a0206f6e870bd32c4eb39e4da723655f8cd9f46c Mon Sep 17 00:00:00 2001
From: Falko Timme <ft@falkotimme.com>
Date: Wed, 23 Oct 2013 10:19:24 -0400
Subject: [PATCH] - Make sure a client cannot be deleted if he has records in the billing module.
---
interface/web/admin/software_update_list.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/interface/web/admin/software_update_list.php b/interface/web/admin/software_update_list.php
index 0f09241..682a644 100644
--- a/interface/web/admin/software_update_list.php
+++ b/interface/web/admin/software_update_list.php
@@ -211,7 +211,8 @@
$app->tpl->setLoop('records',$records_out);
-include_once('lib/lang/en_software_update_list.lng');
+$language = (isset($_SESSION['s']['language']))?$_SESSION['s']['language']:$conf['language'];
+include_once('lib/lang/'.$language.'_software_update_list.lng');
$app->tpl->setVar($wb);
--
Gitblit v1.9.1