From 3ef0c43348c8f735bab740e4a9b7bf8df26fbb00 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 22 Apr 2009 12:49:48 +0000 Subject: Get rid of ereg/split, replaced by preg equivalents --- it_text.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_text.class') diff --git a/it_text.class b/it_text.class index cfbfa01..c82c750 100644 --- a/it_text.class +++ b/it_text.class @@ -138,7 +138,7 @@ function text($label, $language = null) } } - if ($GLOBALS['debug_texts'] && !eregi('submit|reset|button|_search$|service|claim', $label)) + if ($GLOBALS['debug_texts'] && !preg_match('/submit|reset|button|_search$|service|claim/i', $label)) $text = "1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . ""; return $text; -- cgit v1.2.3