From a65f93478f2c0756c2096d429433040060be8635 Mon Sep 17 00:00:00 2001
From: redray <redray@ispconfig3>
Date: Mon, 15 Dec 2008 07:21:14 -0500
Subject: [PATCH] fixed a bug

---
 interface/web/sites/ftp_user_edit.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/sites/ftp_user_edit.php b/interface/web/sites/ftp_user_edit.php
index 2ceff9c..0cb3f95 100644
--- a/interface/web/sites/ftp_user_edit.php
+++ b/interface/web/sites/ftp_user_edit.php
@@ -155,7 +155,7 @@
 		
 		/* restrict the names */
 		if ($app->tform->errorMessage == '') {
-			$this->dataRecord['username'] = $restriction . $this->dataRecord['username'];
+			$this->dataRecord['username'] = $ftpuser_prefix . $this->dataRecord['username'];
 		}
 	}
 	

--
Gitblit v1.9.1