summaryrefslogtreecommitdiffstats
path: root/admin/survey/classes/class.SurveyTextAnalysis.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/classes/class.SurveyTextAnalysis.php')
-rw-r--r--admin/survey/classes/class.SurveyTextAnalysis.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/admin/survey/classes/class.SurveyTextAnalysis.php b/admin/survey/classes/class.SurveyTextAnalysis.php
index 2f083e8..e5e1ad8 100644
--- a/admin/survey/classes/class.SurveyTextAnalysis.php
+++ b/admin/survey/classes/class.SurveyTextAnalysis.php
@@ -15,9 +15,7 @@ class SurveyTextAnalysis{
# polovimo vrsto tabel (aktivne / neaktivne)
SurveyInfo :: getInstance()->SurveyInit($this->anketa);
- if (SurveyInfo::getInstance()->getSurveyColumn('db_table') == 1) {
- $this->db_table = '_active';
- }
+ $this->db_table = SurveyInfo::getInstance()->getSurveyArchiveDBString();
}
else {
echo 'Invalid Survey ID!';