Permalink
Browse files

Merge branch 'MDL-26594' of git://github.com/nebgor/moodle

  • Loading branch information...
2 parents d470702 + c4a8860 commit 2b1a23a6aad1a8e7d5dfffc2d842726e8cd839b2 @stronk7 stronk7 committed Mar 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/completionlib.php
View
@@ -989,10 +989,10 @@ function is_tracked_user($userid) {
$sql = "SELECT u.id ";
$sql .= $tracked->sql;
- $sql .= ' AND u.id = :user';
+ $sql .= ' AND u.id = :userid';
$params = $tracked->data;
- $params['user'] = (int)$userid;
+ $params['userid'] = (int)$userid;
return $DB->record_exists_sql($sql, $params);
}

0 comments on commit 2b1a23a

Please sign in to comment.