diff --git a/sys0-code/api/update_color.php b/sys0-code/api/update_color.php index 0142b29..a741e08 100644 --- a/sys0-code/api/update_color.php +++ b/sys0-code/api/update_color.php @@ -69,7 +69,10 @@ function load_user() mysqli_stmt_fetch($stmt); if($id!=0 && $id!=$last_id) { - echo(""); + if($id==$_POST["printer"]) + echo(""); + else + echo(""); } $last_id=$id; $num_of_printers--; diff --git a/sys0-code/app/overview.php b/sys0-code/app/overview.php index 178e10c..b9f7d1c 100644 --- a/sys0-code/app/overview.php +++ b/sys0-code/app/overview.php @@ -502,7 +502,7 @@ function update_cancel_modal(printer_id,rid){