From 8e526d73ce0d157c55be93c066092acf26eacd2e Mon Sep 17 00:00:00 2001 From: Baptiste Date: Sat, 18 Jun 2022 13:10:02 +0200 Subject: [PATCH] opacity patch --- admin/planning.php | 2 +- planning.php | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/admin/planning.php b/admin/planning.php index a8b071c..79b05bb 100644 --- a/admin/planning.php +++ b/admin/planning.php @@ -50,7 +50,7 @@ if(isset($_POST['send'])) { if (isset($_POST['colorhex']) AND !empty($_POST['colorhex'])) { $color = htmlspecialchars($_POST['colorhex']); } else { - $color = $color.dechex($opacity); + $color = $color.dechex($opacity*2.55); } if($opacity <= 100 AND $opacity >= 0) { diff --git a/planning.php b/planning.php index eaa6dc6..49bce87 100755 --- a/planning.php +++ b/planning.php @@ -69,12 +69,6 @@ if(isset($_GET['planning']) AND !empty(['planning'])) rowCount(); //pour les ptit farceurs - if($cnt == 0) { - header('Location: error.php'); - } - echo ""; } ?>