From fd4f9091fdad984b34626da7a8d9d37a00d7482f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20J=C3=BCrges?= Date: Wed, 9 Mar 2016 12:47:19 +0100 Subject: [PATCH] Respect oc coding style guide. --- lib/private/Encryption/DecryptAll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Encryption/DecryptAll.php b/lib/private/Encryption/DecryptAll.php index 303e7776a6..904a247e41 100644 --- a/lib/private/Encryption/DecryptAll.php +++ b/lib/private/Encryption/DecryptAll.php @@ -214,7 +214,7 @@ class DecryptAll { try { $progress->setMessage("decrypt files for user $userCount: $path"); $progress->advance(); - if ($file->getData()['encrypted'] == 0) { + if ((int)$file->getData()['encrypted'] === 0) { $progress->setMessage("decrypt files for user $userCount: $path (already decrypted)"); $progress->advance(); } else {