Skip to content

Commit 180ff73

Browse files
committed
fix: verifica versione aggiornamenti
1 parent 0ec8389 commit 180ff73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ protected static function getUpdates($directory)
535535
$infos = pathinfo($file);
536536
$version = str_replace('_', '.', $infos['filename']);
537537

538-
if (array_search($version, $previous) === false && self::isVersion($version)) {
538+
if (array_search($version, $previous, true) === false && self::isVersion($version)) {
539539
$path = str_replace(base_dir(), '', $infos['dirname'].'/'.$infos['filename']);
540540
$path = ltrim($path, '/');
541541

0 commit comments

Comments
 (0)