From 7bca79576f0ddaa7f2ea2d0adaf3d5e96485576f Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 22 Sep 2002 03:58:41 +0000 Subject: [PATCH] Fixed stupidity --- mod/survey/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/survey/lib.php b/mod/survey/lib.php index 270cb681edb..f1b981b7cb5 100644 --- a/mod/survey/lib.php +++ b/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; } }