summaryrefslogtreecommitdiffstats
path: root/admin/survey/classes/class.SurveyRespondents.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/classes/class.SurveyRespondents.php')
-rw-r--r--admin/survey/classes/class.SurveyRespondents.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/survey/classes/class.SurveyRespondents.php b/admin/survey/classes/class.SurveyRespondents.php
index 07dac48..7386663 100644
--- a/admin/survey/classes/class.SurveyRespondents.php
+++ b/admin/survey/classes/class.SurveyRespondents.php
@@ -46,7 +46,7 @@ class SurveyRespondents {
'odnos' => array('naslov'=>$lang['srv_system_variables_relation']));
}
- final private function __clone() {}
+ private function __clone() {}
/** Poskrbimo za samo eno instanco razreda
*
@@ -434,7 +434,7 @@ class SurveyRespondents {
global $site_path, $site_url, $lang;
SurveyInfo::getInstance()->SurveyInit(self::getSurveyId());
- $db_table = (SurveyInfo::getInstance()->getSurveyColumn('db_table') == 1) ? '_active' : '';
+ $db_table = SurveyInfo::getInstance()->getSurveyArchiveDBString();
echo '<span>'.$lang['srv_respondents_added_respondents'].':</span>';
echo '<span class="floatRight spaceLeft" ><span class="buttonwrapper"><a class="ovalbutton ovalbutton_orange" href="' . $site_url . 'admin/survey/index.php?anketa='.self::getSurveyId().'&a=email&m=usermailing_setting" ><span>'.$lang['forward'].'</span></a></span></span>';
@@ -669,7 +669,7 @@ class SurveyRespondents {
global $admin_type;
SurveyInfo::getInstance()->SurveyInit(self::getSurveyId());
- $db_table = (SurveyInfo::getInstance()->getSurveyColumn('db_table') == 1) ? '_active' : '';
+ $db_table = SurveyInfo::getInstance()->getSurveyArchiveDBString();
// preverimo potrebne sistemske variable
// tu je lahko vejica