summaryrefslogtreecommitdiffstats
path: root/admin/survey/export/xmlClasses/class.XmlSurvey.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/export/xmlClasses/class.XmlSurvey.php')
-rw-r--r--admin/survey/export/xmlClasses/class.XmlSurvey.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/admin/survey/export/xmlClasses/class.XmlSurvey.php b/admin/survey/export/xmlClasses/class.XmlSurvey.php
index c4f7250..893b05e 100644
--- a/admin/survey/export/xmlClasses/class.XmlSurvey.php
+++ b/admin/survey/export/xmlClasses/class.XmlSurvey.php
@@ -63,9 +63,7 @@ class XmlSurvey{
//if ( SurveyInfo::getInstance()->SurveyInit($this->anketa['id']) && $this->init())
if ( SurveyInfo::getInstance()->SurveyInit($this->anketa) )
{
- if (SurveyInfo::getInstance()->getSurveyColumn('db_table') == 1){
- $this->db_table = '_active';
- }
+ $this->db_table = SurveyInfo::getInstance()->getSurveyArchiveDBString();
}
else{
return false;