-
Bug
-
Resolution: Won't Fix
-
Blocker
-
None
-
2.5
-
None
-
MOODLE_25_STABLE
We just discovered (the hard way) that you have used an ampersand (&) in an SQL query.
Thankfully, it looks like this query is only run occasionally, but when it does it causes the submission in box to get stuck in a loop.
Line 4528 in the code fragment:
// Purge old submissions listings
|
foreach ( $ids as $submission ) {
|
if ( !in_array( $submission->submission_objectid, $keys_found ) ) {
|
turnitintool_delete_records_select('turnitintool_submissions','submission_objectid='.$submission->submission_objectid.'&submission_part='.$part->id);
|
}
|
}
|