Commit 924419cf authored by Tibor Katelbach's avatar Tibor Katelbach
Browse files

valid error bug

parent 51d9c601
......@@ -152,8 +152,8 @@ $stepNum = 3;
if( !isset($adminAnswers["validation"]) ||
!isset($adminAnswers["validation"]["ctenat"]) ||
!isset($adminAnswers["validation"]["cter"]) ||
!in_array( $adminAnswers["validation"]["ctenat"]["valid"], ["valid", "validReserve"]) ||
!in_array( $adminAnswers["validation"]["cter"]["valid"], ["valid", "validReserve"]) ) { ?>
( isset($adminAnswers["validation"]["cter"]["valid"]) && !in_array( $adminAnswers["validation"]["ctenat"]["valid"], ["valid", "validReserve"])) ||
( isset($adminAnswers["validation"]["cter"]["valid"]) && !in_array( $adminAnswers["validation"]["cter"]["valid"], ["valid", "validReserve"])) ) { ?>
<li id="murirBtn">
<a onclick="showStep('#murir')" href="javascript:;" class="done" >
......@@ -171,6 +171,7 @@ if( !isset($adminAnswers["validation"]) ||
isset($adminAnswers["validation"]["ctenat"]) &&
isset($adminAnswers["validation"]["cter"]) &&
in_array( $adminAnswers["validation"]["ctenat"]["valid"], ["valid", "validReserve"]) &&
isset($adminAnswers["validation"]["cter"]["valid"]) &&
in_array( $adminAnswers["validation"]["cter"]["valid"], ["valid", "validReserve"]) ) {
$prioClass = "done";
$isSuivi = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment