getUrlSondage: Cannot define links for EDIT and ACTION at the same time
This commit is contained in:
parent
b61f60155e
commit
4b6f7b685e
@ -112,8 +112,7 @@ class Utils {
|
|||||||
}
|
}
|
||||||
if ($vote_id != '') {
|
if ($vote_id != '') {
|
||||||
$url .= '/vote/' . $vote_id . "#edit";
|
$url .= '/vote/' . $vote_id . "#edit";
|
||||||
}
|
} elseif ($action != null && $action_value != null) {
|
||||||
if ($action != null && $action_value != null) {
|
|
||||||
$url .= '/action/' . $action . '/' . $action_value;
|
$url .= '/action/' . $action . '/' . $action_value;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -124,8 +123,7 @@ class Utils {
|
|||||||
}
|
}
|
||||||
if ($vote_id != '') {
|
if ($vote_id != '') {
|
||||||
$url .= '&vote=' . $vote_id . "#edit";
|
$url .= '&vote=' . $vote_id . "#edit";
|
||||||
}
|
} elseif ($action != null && $action_value != null) {
|
||||||
if ($action != null && $action_value != null) {
|
|
||||||
$url .= '&' . $action . "=" . $action_value;
|
$url .= '&' . $action . "=" . $action_value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user