From 9fca29eae3051730b72f6144e2683cd2fe7c8d0b Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 26 May 2006 15:04:27 +0000 Subject: some tiny changes... git-svn-id: file:///svn/phpbb/trunk@5967 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_profile_fields.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpBB/includes/functions_profile_fields.php') diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index 6bea346ef3..4ab5cf39cb 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -414,6 +414,10 @@ class custom_profile return $tpl_fields; } + else + { + trigger_error('Wrong mode for custom profile', E_USER_ERROR); + } } /** -- cgit v1.2.1