From 6cf5d17abe4b0c31ab6342c30f846b25535ed90e Mon Sep 17 00:00:00 2001 From: mkuba50 Date: Fri, 22 Sep 2017 21:58:47 +0200 Subject: [PATCH] Add missing equals sign --- fetchupd.php | 2 +- readme.md | 3 +-- shared/main.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fetchupd.php b/fetchupd.php index 5517491..4b2fd6c 100644 --- a/fetchupd.php +++ b/fetchupd.php @@ -25,7 +25,7 @@ function uupFetchUpd($arch = 'amd64', $ring = 'WIF', $flight = 'Active', $build $flight = ucwords(strtolower($flight)); if($flight == 'Current') $flight = 'Active'; - if(!($arch == 'amd64' || $arch == 'x86' || $arch = 'arm64')) { + if(!($arch == 'amd64' || $arch == 'x86' || $arch == 'arm64')) { return array('error' => 'UNKNOWN_ARCH'); } diff --git a/readme.md b/readme.md index 6ae549a..c2562b1 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,4 @@ UUP dump API ------------ -Work in progress project to provide needed queries for other UUP dump projects in easy way. - \ No newline at end of file +Work in progress project to provide needed queries for other UUP dump projects in a easy way. diff --git a/shared/main.php b/shared/main.php index 605a646..d9e8abb 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ global $apiVersion; -$apiVersion = '0.1.0-alpha'; +$apiVersion = '0.1.1-alpha'; function brand() { global $apiVersion;