From bef47735b2cc8d484a9533a726f1c7a6c42b3f6c Mon Sep 17 00:00:00 2001
From: moglia <moglia@ispconfig3>
Date: Sun, 16 May 2010 22:49:43 -0400
Subject: [PATCH] Update brazilian portuguese error and indexes pages to work on any charset encoding.

---
 server/scripts/ispconfig_update.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/server/scripts/ispconfig_update.php b/server/scripts/ispconfig_update.php
index 69a7fa9..f7615e1 100644
--- a/server/scripts/ispconfig_update.php
+++ b/server/scripts/ispconfig_update.php
@@ -95,11 +95,13 @@
 	$new_version = trim($new_version);
 	if($new_version != ISPC_APP_VERSION) {
 		passthru('/usr/local/ispconfig/server/scripts/update_from_tgz.sh');
+		exit;
 	} else {
-		echo "There are no updates available.\n";
+		echo "There are no updates available for ISPConfig ".ISPC_APP_VERSION."\n";
 	}
 } else {
 	passthru('/usr/local/ispconfig/server/scripts/update_from_svn.sh');
+	exit;
 }
 
 

--
Gitblit v1.9.1