From 28d4552ee214bf584415debd4daf783161096cf6 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 14 Jan 2021 14:16:17 +0100 Subject: [PATCH] fix(migration): missing null value in provider --- src/Appwrite/Migration/Version/V06.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Migration/Version/V06.php b/src/Appwrite/Migration/Version/V06.php index b9a253701c..46798b315f 100644 --- a/src/Appwrite/Migration/Version/V06.php +++ b/src/Appwrite/Migration/Version/V06.php @@ -44,7 +44,7 @@ class V06 extends Migration break; case Database::SYSTEM_COLLECTION_PROJECTS: foreach ($providers as $key => $provider) { - if ($document->getAttribute('usersOauth' . \ucfirst($key) . 'Secret')) { + if ($document->getAttribute('usersOauth' . \ucfirst($key) . 'Secret', null)) { //TODO: take care of filter ['encrypt] } }