Permalink
Browse files

Er, unfinished code while upgrading log_display

  • Loading branch information...
1 parent 212f17d commit 05a6c03ed26a7ee5487b4c51357c3939bc2d52a2 moodler committed Dec 26, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/mysql.php
View
@@ -226,7 +226,7 @@ function main_upgrade($oldversion=0) {
}
if ($oldversion < 2002122301) {
- if (! record_exists_select("log_display", "", "user", "", "view")) {
+ if (! record_exists("log_display", "module", "user", "action", "view")) {
execute_sql("INSERT INTO {$CFG->prefix}log_display VALUES ('user', 'view', 'user', 'CONCAT(firstname,' ',lastname)') ");
}
}

0 comments on commit 05a6c03

Please sign in to comment.