We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f321d10 commit 354fc4dCopy full SHA for 354fc4d
php/libraries/NDB_BVL_Instrument.class.inc
@@ -767,6 +767,14 @@ abstract class NDB_BVL_Instrument extends NDB_Page
767
$this->_saveCandidateAge($values);
768
}
769
770
+ // Save UserID, the data entry personnel, into flag Data and
771
+ // instrument table
772
+ $user = \NDB_Factory::singleton()->user();
773
+ if (! $user instanceof \LORIS\AnonymousUser) {
774
+ // Add UserID to $values
775
+ $values['UserID'] = $user->getUsername();
776
+ }
777
+
778
//Convert select multiple elements into database storable values
779
if (!empty($this->selectMultipleElements)) {
780
foreach ($this->selectMultipleElements AS $elname) {
0 commit comments