Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'wip-MDL-26507' of git://github.com/sammarshallou/moodle

  • Loading branch information...
commit e49c60345e80e10139fe388f8c6843f47ccf1531 2 parents 29336fb + fdef13e
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/conditionlib.php
View
2  lib/conditionlib.php
@@ -557,7 +557,7 @@ private function require_data() {
*/
private function get_cached_grade_score($gradeitemid, $grabthelot=false, $userid=0) {
global $USER, $DB, $SESSION;
- if ($userid==0 || $userid=$USER->id) {
+ if ($userid==0 || $userid==$USER->id) {
// For current user, go via cache in session
if (empty($SESSION->gradescorecache) || $SESSION->gradescorecacheuserid!=$USER->id) {
$SESSION->gradescorecache = array();
Please sign in to comment.
Something went wrong with that request. Please try again.