From e59bb82e69fed472017c66996c86a40ddd715299 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 05 Apr 2016 11:28:01 -0400
Subject: [PATCH] Fixed Open Issue #3789 php-fpm reload workaround targeted at Ubuntu 14.04 breaks newer/fixed PHP packages on Ubuntu 14.04

---
 interface/web/mailuser/mail_user_password_edit.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/interface/web/mailuser/mail_user_password_edit.php b/interface/web/mailuser/mail_user_password_edit.php
index 5bbcedb..07a1925 100644
--- a/interface/web/mailuser/mail_user_password_edit.php
+++ b/interface/web/mailuser/mail_user_password_edit.php
@@ -51,8 +51,9 @@
 class page_action extends tform_actions {
 
 	function onSubmit() {
-
-		$this->id = $_SESSION['s']['user']['mailuser_id'];
+		global $app, $conf;
+		
+		$this->id = $app->functions->intval($_SESSION['s']['user']['mailuser_id']);
 
 		parent::onSubmit();
 

--
Gitblit v1.9.1