mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Fix issue processwire/processwire-issues#1221
This commit is contained in:
@@ -1208,7 +1208,7 @@ class WireTextTools extends Wire {
|
||||
*
|
||||
*/
|
||||
public function substr($str, $start, $length = null) {
|
||||
return $this->mb ? mb_substr($str, $start, $length) : substr($start, $start, $length);
|
||||
return $this->mb ? mb_substr($str, $start, $length) : substr($str, $start, $length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user