Skip to content

Commit 944a977

Browse files
authored
Update Lib.php
1 parent f00e4be commit 944a977

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,10 @@ public static function getSaveFolder($id = 0)
466466
*/
467467
public static function stripDiacritics($string)
468468
{
469+
if (is_null($string)) {
470+
return '';
471+
}
472+
469473
$string = str_replace(
470474
[
471475
'ě',

0 commit comments

Comments
 (0)