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 . "=";