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:
parent
fff24c0e06
commit
c8ca24cc75
@ -198,7 +198,7 @@ class CheckController extends Controller
|
|||||||
|
|
||||||
if ($row['operator'] == 0 && mysqli_num_rows($sql3) == 0 && mysqli_num_rows($sql3b) == 0)
|
if ($row['operator'] == 0 && mysqli_num_rows($sql3) == 0 && mysqli_num_rows($sql3b) == 0)
|
||||||
return false;
|
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;
|
return false;
|
||||||
elseif ($row['operator'] == 1 && mysqli_num_rows($sql3) > 0)
|
elseif ($row['operator'] == 1 && mysqli_num_rows($sql3) > 0)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user