Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b04f95f0e1
commit
f4c901d6cd
@ -37,7 +37,7 @@ $pollRepository = RepositoryFactory::pollRepository();
|
|||||||
/* ---- */
|
/* ---- */
|
||||||
$form = isset($_SESSION['form']) ? unserialize($_SESSION['form']) : null;
|
$form = isset($_SESSION['form']) ? unserialize($_SESSION['form']) : null;
|
||||||
|
|
||||||
if ($form === null && !($form instanceof Form)) {
|
if ($form === null || !($form instanceof Form)) {
|
||||||
$form = new Form();
|
$form = new Form();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user