mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-07-26 19:23:51 +00:00
Fixes after merge
This commit is contained in:
parent
663f08f607
commit
8b3eaac717
5 changed files with 8 additions and 273 deletions
|
|
@ -43,7 +43,7 @@ $pollService = new PollService($connect, $logService);
|
|||
/* ---- */
|
||||
|
||||
if (!empty($_GET['poll'])) {
|
||||
$poll_id = filter_input(INPUT_GET, 'poll', FILTER_VALIDATE_REGEXP, ['options' => ['regexp' => '/^[a-z0-9]+$/']]);
|
||||
$poll_id = filter_input(INPUT_GET, 'poll', FILTER_VALIDATE_REGEXP, ['options' => ['regexp' => POLL_REGEX]]);
|
||||
$poll = $pollService->findById($poll_id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue