summaryrefslogtreecommitdiffstats
path: root/admin/survey/unsubscribe.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-05-27 13:08:29 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-05-27 13:08:29 +0200
commit75160b12821f7f4299cce7f0b69c83c1502ae071 (patch)
tree27e25e4ccaef45f0c58b22831164050d1af1d4db /admin/survey/unsubscribe.php
parentprvi-commit (diff)
download1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.gz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.bz2
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.lz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.xz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.zst
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.zip
Diffstat (limited to 'admin/survey/unsubscribe.php')
-rw-r--r--admin/survey/unsubscribe.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/survey/unsubscribe.php b/admin/survey/unsubscribe.php
index b92ca1f..7a70e7e 100644
--- a/admin/survey/unsubscribe.php
+++ b/admin/survey/unsubscribe.php
@@ -29,9 +29,10 @@
$anketa = $_GET['anketa'];
if ((int)$anketa > 0) {
$su = new SurveyUnsubscribe($anketa);
- $su::doUnsubscribe();
+ $su->doUnsubscribe();
- } else {
+ }
+ else {
echo $lang['user_bye_missing_id'];
exit;
}