From 87b6dc7e8320106c8a79eda60e760f25c6b1d5f6 Mon Sep 17 00:00:00 2001 From: Janis Steiner Date: Thu, 28 Nov 2024 14:22:55 +0000 Subject: [PATCH] testing --- sys0-code/api/update_color.php | 5 ++++- sys0-code/app/overview.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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){