Details
Description
While working on another issue, I spotted a problem in an SQL in grade_item::depends_on(). This was introduced during new DB API syntax rewrite. Patch follows.
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-21190 | Regression in gradebook dependency calculation when aggregatesubcats is on |
|
|
|
See the attached patch for a proposal of fix. This actually did not cause any problem as $params just contains one more item. But as far as it was the last one, none error emerged so far. But generally, $sql and $params should be paired correctly... Still, plase give me +1 to commit