From 3c433cb209fef7308e11ea3f9e408ab9aad92ed7 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Sat, 30 May 2020 18:37:02 -0300 Subject: [PATCH] App is compliant - awesome job! --- lib/Controller/NoteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index bf88249..46f2e8c 100644 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -171,7 +171,7 @@ class NoteController extends Controller { foreach ($dbTags as $dbTag) { $delete = true; foreach ($tags as $tag) { - if ($dbTag->getId() == $tag['id']) { + if ($dbTag->getId() === $tag['id']) { $delete = false; break; }