mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Correctly get the limesurvey id
This commit is contained in:
@@ -428,7 +428,11 @@ function add_case($sample_id,$questionnaire_id,$operator_id = "NULL",$testing =
|
||||
|
||||
if (!$db->HasFailedTrans()) //if the transaction hasn't failed
|
||||
{
|
||||
$lime_sid = get_limesurvey_id($operator_id);
|
||||
$sql = "SELECT lime_sid
|
||||
FROM questionnaire
|
||||
WHERE questionnaire_id = '$questionnaire_id'";
|
||||
|
||||
$lime_sid = $db->GetOne($sql);
|
||||
|
||||
if ($lime_sid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user