fixed propagate order
This commit is contained in:
@@ -103,7 +103,11 @@ if ($is_openflexy || $service_schedule_result->num_rows > 0) {
|
||||
$idservice = $schedule_row["idservice"];
|
||||
$idserviceschedule = $schedule_row["idserviceschedule"];
|
||||
|
||||
$querychk = "SELECT * FROM bookingclass WHERE iduser = ? AND idserviceschedule = ?";
|
||||
$querychk = "SELECT 1 FROM bookingclass
|
||||
WHERE iduser = ?
|
||||
AND idserviceschedule = ?
|
||||
AND status <> 'cancelled'
|
||||
LIMIT 1";
|
||||
$stmt_chk = $conn->prepare($querychk);
|
||||
$stmt_chk->bind_param("ii", $selected_user_id, $idserviceschedule);
|
||||
$stmt_chk->execute();
|
||||
|
||||
Reference in New Issue
Block a user