From 30fbaab8dee3ff3890ed2b1d86bb56392b4037e0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 11 Feb 2014 19:17:24 +0100 Subject: [PATCH] [ticket/12184] Fix undefined variable tpl_fields in profile field manager PHPBB3-12184 --- phpBB/phpbb/profilefields/manager.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/phpbb/profilefields/manager.php b/phpBB/phpbb/profilefields/manager.php index 6a8d32f150..ac2542a6d4 100644 --- a/phpBB/phpbb/profilefields/manager.php +++ b/phpBB/phpbb/profilefields/manager.php @@ -255,6 +255,8 @@ class manager $this->build_cache(); } + $tpl_fields = array(); + // Go through the fields in correct order foreach ($this->profile_cache as $field_ident => $field_data) {