File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2828use tool_lifecycle \local \entity \trigger_subplugin ;
2929use tool_lifecycle \settings_type ;
3030
31+ defined ('MOODLE_INTERNAL ' ) || die ();
32+
3133require_once (__DIR__ . '/../../../locallib.php ' );
3234
3335/**
Original file line number Diff line number Diff line change 3030use tool_lifecycle \settings_type ;
3131
3232defined ('MOODLE_INTERNAL ' ) || die ();
33+
3334require_once (__DIR__ . '/../lib.php ' );
3435require_once (__DIR__ . '/../../lib.php ' );
3536require_once (__DIR__ . '/../../locallib.php ' );
@@ -66,7 +67,7 @@ public function get_course_recordset_where($triggerid) {
6667 if ($ nosemester ) {
6768 require_once ($ CFG ->dirroot .'/customfield/field/semester/locallib.php ' );
6869 $ termindependentintvalue = CUSTOMFIELD_SEMESTER_INTERNAL_TERMINDEPENDENT ;
69- $ where = " NOT EXISTS (SELECT 1 FROM {customfield_data} AS cfd WHERE cfd.fieldid = :customfield AND
70+ $ where = " NOT EXISTS (SELECT 1 FROM {customfield_data} cfd WHERE cfd.fieldid = :customfield AND
7071 cfd.instanceid = c.id AND cfd.intvalue <> :termindependentintvalue) " ;
7172 if ($ exclude ) {
7273 $ where = " NOT ( $ where) " ;
Original file line number Diff line number Diff line change 408408 "wf " => $ workflowid ,
409409 "trigger " => $ triggerid ,
410410 "showtablesql " => "1 " ,
411- "showdetails " => "1 "
411+ "showdetails " => "1 " ,
412412 ]),
413413 "XXYYZZ " , ["class " => "text-muted fs-6 text-decoration-none " ]));
414414 }
You can’t perform that action at this time.
0 commit comments