From 7d511ef8e9ef15c247a5a7f7086fbd728fad6b0a Mon Sep 17 00:00:00 2001 From: Joao Pasqualini Costa Date: Wed, 23 Aug 2023 13:51:09 -0300 Subject: [PATCH] fix: Improve updater api for different versions of php --- tools/api/updater.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/api/updater.php b/tools/api/updater.php index 28f84aae2b..48791908c1 100644 --- a/tools/api/updater.php +++ b/tools/api/updater.php @@ -1,8 +1,8 @@ getPathname()); - if ($checksum === true) { + if ($checksum === true || $checksum != "") { $parsed_checksum = ltrim($checksum, '0'); if ($parsed_checksum === '') { $parsed_checksum = '0';