summaryrefslogtreecommitdiffstats
path: root/admin/survey/unsubscribe.php
diff options
context:
space:
mode:
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;
}