mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Missing returns
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
* Text processing and parsing functions
|
* Text processing and parsing functions
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
||||||
* $Revision: 1.77 $
|
* $Revision: 1.78 $
|
||||||
* $Date: 2009-10-30 23:31:08 $
|
* $Date: 2009-10-30 23:38:14 $
|
||||||
* $Author: marj_nl_fr $
|
* $Author: e107steved $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit(); }
|
if (!defined('e107_INIT')) { exit(); }
|
||||||
@@ -370,7 +370,7 @@ class e_parse
|
|||||||
case 1:
|
case 1:
|
||||||
return mb_strpos($haystack, $needle, $offset);
|
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:
|
case 1:
|
||||||
return mb_strrpos($haystack, $needle, $offset);
|
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);
|
return mb_substr($haystack, $needle, $offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
utf8_substr($str, $start, $length);
|
return utf8_substr($str, $start, $length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user