aboutsummaryrefslogtreecommitdiffstats
path: root/modules/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'modules/phpbb')
-rw-r--r--modules/phpbb/files/phpbb_apply_config.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/phpbb/files/phpbb_apply_config.pl b/modules/phpbb/files/phpbb_apply_config.pl
index f790cf30..09e9812a 100644
--- a/modules/phpbb/files/phpbb_apply_config.pl
+++ b/modules/phpbb/files/phpbb_apply_config.pl
@@ -12,10 +12,10 @@ my $dbh = DBI->connect("dbi:Pg:","","");
my $table = "phpbb_config";
-my $update = $dbh->prepare("UPDATE $table SET config_value = ? WHERE config_name = ?");
+my $update = $dbh->prepare("UPDATE $table SET config_value = ?, is_dynamic = ? WHERE config_name = ?");
my $insert = $dbh->prepare("INSERT INTO $table ( config_value, config_name, is_dynamic ) VALUES ( ? , ? , ? )");
-my $res = $update->execute($VALUE ,$key) or die "cannot do update $?";
+my $res = $update->execute($VALUE ,1, $key) or die "cannot do update $?";
if ($res == 0 ) {
$insert->execute($VALUE ,$key, 1) or die "cannot do insert $?";
}