https://bugzilla.wikimedia.org/show_bug.cgi?id=51834
Web browser: ---
Bug ID: 51834
Summary: ParserFunctions call to mb_substr() generates lots of
warnings
Product: MediaWiki extensions
Version: REL1_20 branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Unprioritized
Component: ParserFunctions
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
The mb_substr() call in runSub() in ParserFunctions_body.php does not wrap the
$inStart parameter in intval() like the similar call two lines later, leading
to lots of error log warnings: "PHP Warning: mb_substr() expects parameter 2 to
be long, string given in .../ParserFunctions_body.php on line 670".
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l