From a273084d7a86479038ced563d0479bff1b32c7aa Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Mon, 28 Apr 2003 16:56:57 +0000
Subject: [PATCH] Strange no-one has noticed this so far ... !

---
 lib/db/postgres7.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php
index 8727340d8b3..2bd3a3cf32e 100644
--- a/lib/db/postgres7.php
+++ b/lib/db/postgres7.php
@@ -42,7 +42,7 @@ function main_upgrade($oldversion=0) {
     
     //support user based course creating
     if ($oldversion < 2003032400) {
-        execute_sql("CREATE TABLE $CFG->prefix_user_coursecreators (
+        execute_sql("CREATE TABLE {$CFG->prefix}user_coursecreators (
                                   id int8 SERIAL PRIMARY KEY,
                                   userid int8  NOT NULL default '0'
                                   )");