Skip to content

Commit 01f5677

Browse files
Merge pull request #8396 from Sesquipedalian/3.0/convertcase_greek
Adds a missing class name in Utf8String::convertCase()
2 parents 54bb085 + ec288a3 commit 01f5677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Unicode/Utf8String.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function ($matches) use ($upper, $title) {
240240
// Greek conditional casing, part 1: Fix lowercase sigma.
241241
// Note that this rule doesn't depend on $txt['lang_locale'].
242242
if ($case !== 'upper' && str_contains($this->string, 'ς') || str_contains($this->string, 'σ')) {
243-
require_once $sourcedir . '/Unicode/RegularExpressions.php';
243+
require_once Config::$sourcedir . '/Unicode/RegularExpressions.php';
244244

245245
$prop_classes = utf8_regex_properties();
246246

0 commit comments

Comments
 (0)