r1321: We need TABLE_PREFIX in upgrade9.php
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 25 Nov 2006 00:44:20 +0000 (00:44 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 25 Nov 2006 00:44:20 +0000 (00:44 +0000)
install/upgrade9.php

index e53f20f9c0c57a9c82fc0c1c531289ce0a4c511c..9308e012bb4d7b1924cf9948352ecfeb35653413 100644 (file)
@@ -50,7 +50,7 @@ if ($bugsys->in['mark'] == 1)
 <p>Changing the storage type of the time zone field from INT to FLOAT to fix a bug.</p>
 <?php
        
-       $db->query("ALTER TABLE user CHANGE timezone timezone float(4) NOT NULL DEFAULT 0");
+       $db->query("ALTER TABLE " . TABLE_PREFIX . "user CHANGE timezone timezone float(4) NOT NULL DEFAULT 0");
        
        echo "... done<br />\n";
 }