App is compliant - awesome job!

This commit is contained in:
Matias De lellis
2020-05-30 18:37:02 -03:00
parent f7ab295a6c
commit 3c433cb209

View File

@@ -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;
}