2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed issue: Limesurvey quotas not working

This commit is contained in:
Adam Zammit
2017-07-04 14:48:30 +10:00
parent d25275f41d
commit c578983e47
10 changed files with 68 additions and 64 deletions

View File

@@ -23,7 +23,7 @@ $LEMskipReprocessing=false; // true if used GetLastMoveResult to avoid generatio
$surveyMode=quexs_get_survey_mode($clienttoken);
if ($interviewer || $surveyMode === false)
if ($_SESSION['interviewer'] || $surveyMode === false)
{
switch ($thissurvey['format'])
{
@@ -467,7 +467,7 @@ else
//queXS Addition
include_once("quexs.php");
if ($interviewer)
if ($_SESSION['interviewer'])
{
$quexs_url = get_start_interview_url();
$url = str_replace("{STARTINTERVIEWURL}", $quexs_url, $url);