Skip to content

Commit 80f631d

Browse files
committed
Work #fix compilatio error on pending work when compilatio is not activated -refs BT#22023
1 parent 4d07349 commit 80f631d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main/work/work.lib.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,11 +2690,11 @@ function getAllWork(
26902690

26912691
$courseQueryToString = implode(' OR ', $courseQuery);
26922692

2693-
//try {
2694-
$compilatio = new Compilatio();
2695-
//} catch (Exception $e) {
2696-
// $compilatio = null;
2697-
//}
2693+
try {
2694+
$compilatio = new Compilatio();
2695+
} catch (Exception $e) {
2696+
$compilatio = null;
2697+
}
26982698

26992699
if ($getCount) {
27002700
if (empty($courseQuery)) {

0 commit comments

Comments
 (0)