We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ec8389 commit 180ff73Copy full SHA for 180ff73
1 file changed
src/Update.php
@@ -535,7 +535,7 @@ protected static function getUpdates($directory)
535
$infos = pathinfo($file);
536
$version = str_replace('_', '.', $infos['filename']);
537
538
- if (array_search($version, $previous) === false && self::isVersion($version)) {
+ if (array_search($version, $previous, true) === false && self::isVersion($version)) {
539
$path = str_replace(base_dir(), '', $infos['dirname'].'/'.$infos['filename']);
540
$path = ltrim($path, '/');
541
0 commit comments