From 2d0699184c0dfc481830c4691ad2d50a372ad949 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 29 Mar 2018 11:29:04 +0200 Subject: [PATCH] Debug routing Signed-off-by: Thomas Citharel --- app/classes/Framadate/Utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/classes/Framadate/Utils.php b/app/classes/Framadate/Utils.php index 1f1c97b..f18e8ed 100644 --- a/app/classes/Framadate/Utils.php +++ b/app/classes/Framadate/Utils.php @@ -115,8 +115,8 @@ class Utils { } if ($vote_id !== '') { $url .= '&vote=' . $vote_id . "#edit"; - } elseif ($action !== null) { - if ($action_value !== null) { + } elseif ($action) { + if ($action_value) { $url .= '&' . $action . "=" . $action_value; } else { $url .= '&' . $action . "=";