Permalink
Browse files

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

  • Loading branch information...
2 parents 29336fb + fdef13e commit e49c60345e80e10139fe388f8c6843f47ccf1531 @stronk7 stronk7 committed Feb 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/conditionlib.php
View
@@ -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();

0 comments on commit e49c603

Please sign in to comment.