aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r--phpBB/includes/functions_profile_fields.php4
1 files changed, 4 insertions, 0 deletions
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);
+ }
}
/**