Debug routing

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-03-29 11:29:04 +02:00
parent 21c6c7684e
commit 2d0699184c
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

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