From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- main/survey/uporabnost.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main/survey/uporabnost.php') diff --git a/main/survey/uporabnost.php b/main/survey/uporabnost.php index 413746d..e5ba09f 100644 --- a/main/survey/uporabnost.php +++ b/main/survey/uporabnost.php @@ -14,7 +14,8 @@ echo ' OneClick Survey'."\n\r"; echo ' '."\n\r"; echo ''; -$anketa = $_GET['anketa']; +$anketa_hash = $_GET['anketa']; +$anketa = getSurveyIdFromHash($anketa_hash); $sql = sisplet_query("SELECT uporabnost_link FROM srv_anketa WHERE id = '$anketa'"); $row = mysqli_fetch_array($sql); @@ -26,13 +27,13 @@ if (true || ($row['uporabnost_link'] != null && $row['uporabnost_link'] != "")) echo ' - + '; } else { echo ' - + '; } -- cgit v1.2.3