aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf/utf_tools.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/utf/utf_tools.php')
-rw-r--r--phpBB/includes/utf/utf_tools.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php
index 1b715014bd..f6ed6c3ed5 100644
--- a/phpBB/includes/utf/utf_tools.php
+++ b/phpBB/includes/utf/utf_tools.php
@@ -163,7 +163,7 @@ if (extension_loaded('mbstring'))
{
if (!is_int($offset))
{
- trigger_error('utf8_strrpos expects parameter 3 to be long', E_USER_WARNING);
+ trigger_error('utf8_strrpos expects parameter 3 to be long', E_USER_ERROR);
return false;
}
@@ -270,7 +270,7 @@ else
{
if (!is_int($offset))
{
- trigger_error('utf8_strrpos expects parameter 3 to be long', E_USER_WARNING);
+ trigger_error('utf8_strrpos expects parameter 3 to be long', E_USER_ERROR);
return false;
}