aboutsummaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-04 15:58:27 +0200
committerMateja <mail@matejamaric.com>2020-10-04 15:58:27 +0200
commitaa11550b9e05f9a5f9a091bc524cabf1c3a8bda0 (patch)
tree472c9a7869329656485fb984de08ebea24c9b593 /edit.php
parent7c68757f672691d29c749fcbf3a95b22baffcede (diff)
downloadold-php-yota-aa11550b9e05f9a5f9a091bc524cabf1c3a8bda0.tar.gz
old-php-yota-aa11550b9e05f9a5f9a091bc524cabf1c3a8bda0.zip
Release 0.1
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/edit.php b/edit.php
index c515de7..5bc5b42 100644
--- a/edit.php
+++ b/edit.php
@@ -33,6 +33,11 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_SESSION['admin']) && $_SESSI
$recvData->operatorEmail = clear_input($recvData->operatorEmail);
$recvData->operatorPhone = clear_input($recvData->operatorPhone);
$recvData->qso = clear_input($recvData->qso);
+
+ $recvData->$specialCall = strtoupper($recvData->$specialCall);
+ $recvData->$modes = strtoupper($recvData->$modes);
+ $recvData->$operatorCall = strtoupper($recvData->$operatorCall);
+
} catch (Exception $e) {
die("Can't decode JSON!");
}