fix typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5631167ca7
commit
fe93733872
@ -52,7 +52,7 @@ if (empty($_SESSION['form']->title) || empty($_SESSION['form']->admin_name) || (
|
||||
$max_expiry_time = $pollService->maxExpiryDate();
|
||||
|
||||
// The poll format is other (A) if we are in this file
|
||||
if (!isset($_SESSION['form'])) {
|
||||
if (!isset($_SESSION['form']->format)) {
|
||||
$_SESSION['form']->format = 'A';
|
||||
}
|
||||
// If we come from another format, we need to clear choices
|
||||
|
@ -45,7 +45,7 @@ $min_expiry_time = $pollService->minExpiryDate();
|
||||
$max_expiry_time = $pollService->maxExpiryDate();
|
||||
|
||||
// The poll format is DATE if we are in this file
|
||||
if (!isset($_SESSION['form'])) {
|
||||
if (!isset($_SESSION['form']->format)) {
|
||||
$_SESSION['form']->format = 'D';
|
||||
}
|
||||
// If we come from another format, we need to clear choices
|
||||
|
Loading…
Reference in New Issue
Block a user