|
From: Benjamin C. <bc...@us...> - 2002-03-13 16:36:31
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv458
Modified Files:
upgrade.php
Log Message:
Argh, problem with query on postgres
Index: upgrade.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/upgrade.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- upgrade.php 11 Mar 2002 16:41:14 -0000 1.9
+++ upgrade.php 13 Mar 2002 16:36:28 -0000 1.10
@@ -29,7 +29,7 @@
global $q;
$upgraded = $q->grab_field('select varvalue from '.TBL_CONFIGURATION.
- ' where varname = "PROMOTE_VOTES"');
+ " where varname = 'PROMOTE_VOTES'");
if (!$upgraded) {
// Add the bug_vote table and insert the new configuration options
if (DB_TYPE == 'pgsql') {
|