Skip to content

Commit

Permalink
Merge pull request #18 from Gramcito/fix_undefined_constant_in_Increm…
Browse files Browse the repository at this point in the history
…entFromSeed

Prefixed the allRecords temp variable with $.
  • Loading branch information
lsgs authored Jan 13, 2023
2 parents efd3bcd + cda791d commit 12ab0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutonumberGenerators/IncrementFromSeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getNextRecordId($params=null) {

$allRecords = REDCap::getData('array',null,REDCap::getRecordIdField());

if (count(allRecords) === 0) { return $seed; }
if (count($allRecords) === 0) { return $seed; }

// find the current max integer id
$currentMax = 0;
Expand Down

0 comments on commit 12ab0c1

Please sign in to comment.