Fix typo in function name in AbstractFileDeletePackageInstallationPlugin
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 3 May 2022 21:36:15 +0000 (23:36 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 4 May 2022 13:28:55 +0000 (15:28 +0200)
This must be `strtr` not `strstr`.

see #4714

wcfsetup/install/files/lib/system/package/plugin/AbstractFileDeletePackageInstallationPlugin.class.php

index 20cf5bdde6f283da04bd54caf2ca24a3e48d03fb..f33355f7d79da8846c9d6be36a2dbe86eed3f486 100644 (file)
@@ -136,7 +136,7 @@ abstract class AbstractFileDeletePackageInstallationPlugin extends AbstractXMLPa
         if ($isFilesystemCaseSensitive === null) {
             $testFilePath = __FILE__;
 
-            $invertedCase = \strstr(
+            $invertedCase = \strtr(
                 $testFilePath,
                 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
                 "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"