Skip to content

Commit 1ff13e3

Browse files
committed
Fixed bug in ftp user prefix.
1 parent eb0645b commit 1ff13e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/sites/ftp_user_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function onBeforeUpdate() {
155155

156156
/* restrict the names */
157157
if ($app->tform->errorMessage == '') {
158-
$this->dataRecord['username'] = $restriction . $this->dataRecord['username'];
158+
$this->dataRecord['username'] = $ftpuser_prefix . $this->dataRecord['username'];
159159
}
160160
}
161161

0 commit comments

Comments
 (0)