From 8fb630821b3fc22793bf3ef11686cd1df0e53576 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sun, 16 Mar 2014 19:50:55 +0100 Subject: [PATCH] Fix bug when emptying a category - Controller expected a POST action but we were using a link (so a GET action) - Links to empty a category is now a button whit a formaction - Improve comparaison id with id of the default category --- app/views/configure/categorize.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index a564e8cdd..c0171d2dc 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -17,11 +17,11 @@ nbFeed () > 0) { ?> - + (nbFeed ()); ?>) - id () == $this->defaultCategory->id ()) { ?> + id () === $this->defaultCategory->id ()) { ?>