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 6273c34 commit a9c1ecaCopy full SHA for a9c1eca
php/libraries/NDB_BVL_Instrument.class.inc
@@ -744,6 +744,14 @@ abstract class NDB_BVL_Instrument extends NDB_Page
744
$this->_saveCandidateAge($values);
745
}
746
747
+ // Save UserID, the data entry personnel, into flag Data and
748
+ // instrument table
749
+ $user = \NDB_Factory::singleton()->user();
750
+ if (! $user instanceof \LORIS\AnonymousUser) {
751
+ // Add UserID to $values
752
+ $values['UserID'] = $user->getUsername();
753
+ }
754
+
755
//Convert select multiple elements into database storable values
756
if (!empty($this->selectMultipleElements)) {
757
foreach ($this->selectMultipleElements AS $elname) {
0 commit comments