From 3f44f368172f744499055c482dcaccb0108660ab Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 24 Dec 2015 15:44:55 +0100 Subject: [ticket/13454] Add excessively removed code back PHPBB3-13454 --- phpBB/includes/acp/acp_profile.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/acp/acp_profile.php') diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php index 6c8d69c4f1..69672ebec0 100644 --- a/phpBB/includes/acp/acp_profile.php +++ b/phpBB/includes/acp/acp_profile.php @@ -549,7 +549,11 @@ class acp_profile } } - if (!sizeof($error)) + if (sizeof($error)) + { + $submit = false; + } + else { $step = (isset($_REQUEST['next'])) ? $step + 1 : ((isset($_REQUEST['prev'])) ? $step - 1 : $step); } -- cgit v1.2.1