Skip to content

Commit

Permalink
Merge pull request #1027 from unikent/develop
Browse files Browse the repository at this point in the history
for Deploy 2024-10-07
  • Loading branch information
cfc7-unikent authored Oct 7, 2024
2 parents 9130cf8 + 9abbd9a commit af849bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/tasks/sitsimport.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public function getProgramme($course, $level, $processYears = null)
}

$model = $level === "ug" ? "UG_Programme" : "PG_Programme";
$courseID = substr($course->progID, 0, strlen((string) $course->progID) - 3);
$courseID = filter_var($course->progID, FILTER_SANITIZE_NUMBER_INT);

return $model::where(
"instance_id",
Expand Down

0 comments on commit af849bb

Please sign in to comment.