From eef979556c4764c4c276ce29e4772cd029f7beb5 Mon Sep 17 00:00:00 2001 From: prasad <prasad@vtiger.com> Date: Thu, 14 Jul 2016 14:49:41 +0530 Subject: [PATCH] Fixed typo in eregi backward compatibility. --- include/utils/utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/utils/utils.php b/include/utils/utils.php index 4539265a..87b0af4f 100755 --- a/include/utils/utils.php +++ b/include/utils/utils.php @@ -2330,7 +2330,7 @@ function php7_compat_ereg($pattern, $str, $ignore_case=false) { } if (!function_exists('ereg')) { function ereg($pattern, $str) { return php7_compat_ereg($pattern, $str); } } -if (!function_exists('eregi')) { function ereg($pattern, $str) { return php7_compat_ereg($pattern, $str, true); } } +if (!function_exists('eregi')) { function eregi($pattern, $str) { return php7_compat_ereg($pattern, $str, true); } } -?> \ No newline at end of file +?> -- GitLab