mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-27471 rating - whitespace cleanup
This commit is contained in:
parent
5b52ce19c5
commit
f2e725930b
4 changed files with 9 additions and 9 deletions
|
@ -88,7 +88,7 @@ if (!$ratings) {
|
|||
if ($popup) {
|
||||
$sorturl->param('popup', $popup);
|
||||
}
|
||||
|
||||
|
||||
$table = new html_table;
|
||||
$table->cellpadding = 3;
|
||||
$table->cellspacing = 3;
|
||||
|
@ -130,4 +130,4 @@ if (!$ratings) {
|
|||
if ($popup) {
|
||||
echo $OUTPUT->close_window_button();
|
||||
}
|
||||
echo $OUTPUT->footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
|
|
@ -571,10 +571,10 @@ class rating_manager {
|
|||
$aggregatestr(r.rating) AS aggrrating, COUNT(r.rating) AS numratings,
|
||||
ur.id, ur.userid, ur.scaleid, ur.rating AS usersrating
|
||||
FROM {rating} r
|
||||
LEFT JOIN {rating} ur ON ur.contextid = r.contextid AND
|
||||
ur.itemid = r.itemid AND
|
||||
ur.component = r.component AND
|
||||
ur.ratingarea = r.ratingarea AND
|
||||
LEFT JOIN {rating} ur ON ur.contextid = r.contextid AND
|
||||
ur.itemid = r.itemid AND
|
||||
ur.component = r.component AND
|
||||
ur.ratingarea = r.ratingarea AND
|
||||
ur.userid = :userid
|
||||
WHERE r.contextid = :contextid AND
|
||||
r.itemid {$itemidtest} AND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue