summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-26 07:19:41 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-26 07:19:41 +0000
commit03c92fb60abf7925cdcda3f5174bb05c1a785aaa (patch)
tree11cedbd723e9d795da7e108386f8c834e63d8e31 /modules/system
parentb14a62210355e37382eee2f1c883623db77408a8 (diff)
downloadbrdo-03c92fb60abf7925cdcda3f5174bb05c1a785aaa.tar.gz
brdo-03c92fb60abf7925cdcda3f5174bb05c1a785aaa.tar.bz2
#75039 by jptavan and asimmonds, properly insert data with {}.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 49a8df67d..ba23868f1 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -414,7 +414,7 @@ function system_install() {
db_query("INSERT INTO {filters} VALUES (3,'filter',2,0)");
db_query("INSERT INTO {variable} (name,value) VALUES ('filter_html_1','i:1;')");
- db_query("INSERT INTO {variable} (name, value) VALUES ('node_options_forum', 'a:1:{i:0;s:6:\"status\";}')");
+ db_query("INSERT INTO {variable} (name, value) VALUES ('node_options_forum', '%s')", 'a:1:{i:0;s:6:"status";}');
db_query("INSERT INTO {menu} (pid, path, title, description, weight, type) VALUES (0, '', 'Primary links', '', 0, 115)");
db_query("INSERT INTO {variable} VALUES ('menu_primary_menu', 'i:2;')");