You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Taken and edited from API > record > delete.php:delRecords()
@@ -464,7 +461,8 @@ protected function readLockStatusDataLevel() {
464
461
}
465
462
466
463
// read recorded form status values
467
-
$sql = "select record, event_id, field_name, value, instance from redcap_data where project_id=".db_escape($this->project_id)." and record='".db_escape($this->record)."' ";
$sql = "select record, event_id, field_name, value, instance from $redcap_data where project_id=".db_escape($this->project_id)." and record='".db_escape($this->record)."' ";
468
466
$sql .= "and event_id in (".implode(',',array_keys($eventForms)).") ";
469
467
$sql .= "and field_name in ('".implode("','",$includedFormStatusFields)."') ";
0 commit comments