Popravek buga - pogoj na vprasanju pri vrednosti -1 in se kaksni dodatni vrednosti (npr. pogoj Q2=[1,2,-1] se ni uposteval pri vrednosti 1 ali 2)

This commit is contained in:
pero1203 2022-05-05 16:06:47 +02:00
parent fff24c0e06
commit c8ca24cc75

View File

@ -198,7 +198,7 @@ class CheckController extends Controller
if ($row['operator'] == 0 && mysqli_num_rows($sql3) == 0 && mysqli_num_rows($sql3b) == 0)
return false;
elseif ($row['operator'] == 0 && mysqli_num_rows($sql3b) > 0 && mysqli_num_rows($sql4b) > 0)
elseif ($row['operator'] == 0 && mysqli_num_rows($sql3) == 0 && mysqli_num_rows($sql3b) > 0 && mysqli_num_rows($sql4b) > 0)
return false;
elseif ($row['operator'] == 1 && mysqli_num_rows($sql3) > 0)
return false;