Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed stupidity

  • Loading branch information...
commit 7bca79576f0ddaa7f2ea2d0adaf3d5e96485576f 1 parent a30cfe1
martin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/survey/lib.php
View
4 mod/survey/lib.php
@@ -88,8 +88,8 @@ function survey_print_recent_activity(&$logs, $isteacher=false) {
$surveys[$log->id] = get_record_sql("SELECT s.name, u.firstname, u.lastname
FROM survey s, user u
WHERE s.id = '$log->info' AND u.id = '$log->user'");
- $surveys[$log->info]->time = $log->time;
- $surveys[$log->info]->url = $log->url;
+ $surveys[$log->id]->time = $log->time;
+ $surveys[$log->id]->url = $log->url;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.