From ce882924d2f388686191cb2c30cca82d5061331d Mon Sep 17 00:00:00 2001 From: e107steved Date: Fri, 30 Oct 2009 23:38:14 +0000 Subject: [PATCH] Missing returns --- e107_handlers/e_parse_class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 83e6599a0..156cbca17 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -9,9 +9,9 @@ * Text processing and parsing functions * * $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $ -* $Revision: 1.77 $ -* $Date: 2009-10-30 23:31:08 $ -* $Author: marj_nl_fr $ +* $Revision: 1.78 $ +* $Date: 2009-10-30 23:38:14 $ +* $Author: e107steved $ * */ if (!defined('e107_INIT')) { exit(); } @@ -370,7 +370,7 @@ class e_parse case 1: return mb_strpos($haystack, $needle, $offset); } - utf8_strpos($haystack, $needle, $offset); + return utf8_strpos($haystack, $needle, $offset); } @@ -395,7 +395,7 @@ class e_parse case 1: return mb_strrpos($haystack, $needle, $offset); } - utf8_strrpos($haystack, $needle, $offset); + return utf8_strrpos($haystack, $needle, $offset); } @@ -429,7 +429,7 @@ class e_parse return mb_substr($haystack, $needle, $offset); } } - utf8_substr($str, $start, $length); + return utf8_substr($str, $start, $length); }