summaryrefslogtreecommitdiffstats
path: root/admin/survey/classes/surveyEmails/class.SurveyUnsubscribe.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/classes/surveyEmails/class.SurveyUnsubscribe.php')
-rw-r--r--admin/survey/classes/surveyEmails/class.SurveyUnsubscribe.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/survey/classes/surveyEmails/class.SurveyUnsubscribe.php b/admin/survey/classes/surveyEmails/class.SurveyUnsubscribe.php
index 084cb9a..09d593d 100644
--- a/admin/survey/classes/surveyEmails/class.SurveyUnsubscribe.php
+++ b/admin/survey/classes/surveyEmails/class.SurveyUnsubscribe.php
@@ -117,12 +117,12 @@ class SurveyUnsubscribe {
return array(substr($cookie,0,6), $cookie);
}
- function doUnsubscribe() {
+ public function doUnsubscribe() {
global $lang;
$anketa = self::$sid;
- $db_table = (SurveyInfo::getInstance()->getSurveyColumn('db_table') == 1) ? '_active' : '';
+ $db_table = SurveyInfo::getInstance()->getSurveyArchiveDBString();
$lang_id = (int)$_GET['language'];
if ($lang_id != null) $_lang = '_'.$lang_id; else $_lang = '';