Skip to content
Snippets Groups Projects
Commit fe9dadbe authored by Damien's avatar Damien
Browse files

FIX #3867 Fix is_null 2

parent 6d41b3cc
No related branches found
No related tags found
No related merge requests found
......@@ -580,11 +580,11 @@ abstract class visa_Abstract extends Database
$up = ' style="visibility:visible"';
$displayCB = ' style="visibility:hidden"';
$checkCB = '';
if ($isVisaStep && $myPosVisa != null && $myPosVisa >= $seq || $step['process_date'] != '')
if ($isVisaStep && !is_null($myPosVisa) && $myPosVisa >= $seq || $step['process_date'] != '')
$down = ' style="visibility:hidden"';
else
$down = ' style="visibility:visible"';
if ($isVisaStep && $myPosVisa != null && $myPosVisa >= $seq || $step['process_date'] != '')
if ($isVisaStep && !is_null($myPosVisa) && $myPosVisa >= $seq || $step['process_date'] != '')
$del = ' style="visibility:hidden"';
else
$del = ' style="visibility:visible"';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment