From d082f869ce2fc98d980ccefd1222502d4a9879a4 Mon Sep 17 00:00:00 2001
From: Big Geeves
Date: Mon, 1 Jul 2024 10:36:31 -0700
Subject: [PATCH] Update SurveyQueueInterface.php
Fixed Typoes
---
SurveyQueueInterface.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/SurveyQueueInterface.php b/SurveyQueueInterface.php
index 823b9fd..d058a11 100644
--- a/SurveyQueueInterface.php
+++ b/SurveyQueueInterface.php
@@ -253,7 +253,7 @@ private function check_logic_events_and_fields($logic)
$fields = REDCap::getFieldNames();
$fields = $this->AddCheckBoxes($fields); // Add checkbox field options
- // Get all occurences of an opening square bracket "["
+ // Get all occurrences of an opening square bracket "["
$lastPos = 0;
$openingBrackets = array();
while (($lastPos = strpos($logic, "[", $lastPos)) !== FALSE)
@@ -492,7 +492,7 @@ public function import_survey_queue_csv()
* active
* auto_start
* conditional_event_name
- * contidional_arm_name
+ * occurrencesconditional_arm_name
* conditional_survey_form
* condition_andor
* condition_logic
@@ -621,7 +621,7 @@ public function import_survey_queue_csv()
}
else
{
- REDCap::logEvent("Survey Queue Interface Import", "Survey Queue Interface EM has sucessfully updated the survey queue");
+ REDCap::logEvent("Survey Queue Interface Import", "Survey Queue Interface EM has successfully updated the survey queue");
}
}
}
@@ -655,7 +655,7 @@ public function generate_user_interface()
two projects with the same structure will pass validation for each other.
- Instructions
+ Instructions
The csv import requires all the following columns in the below order, the same columns the csv export will contain:
- survey_form - Unique name of survey in the queue
@@ -684,4 +684,4 @@ public function generate_user_interface()