From e86f093d31e27ca64f5fe416006e234892bded38 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Sun, 30 Oct 2022 14:31:21 +0100 Subject: [PATCH] forgot to remove leftover prepared statement variable in Ftps.add() Signed-off-by: Michael Kaufmann --- lib/Froxlor/Api/Commands/Ftps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Api/Commands/Ftps.php b/lib/Froxlor/Api/Commands/Ftps.php index 67950a73..e0a7d013 100644 --- a/lib/Froxlor/Api/Commands/Ftps.php +++ b/lib/Froxlor/Api/Commands/Ftps.php @@ -176,7 +176,7 @@ class Ftps extends ApiCommand implements ResourceEntity $stmt = Database::prepare("INSERT INTO `" . TABLE_FTP_USERS . "` (`customerid`, `username`, `description`, `password`, `homedir`, `login_enabled`, `uid`, `gid`, `shell`) - VALUES (:customerid, :username, :description, :password, :passwordc, :homedir, 'y', :guid, :guid, :shell)"); + VALUES (:customerid, :username, :description, :password, :homedir, 'y', :guid, :guid, :shell)"); $params = [ "customerid" => $customer['customerid'], "username" => $username,