From 03c92fb60abf7925cdcda3f5174bb05c1a785aaa Mon Sep 17 00:00:00 2001 From: Neil Drumm <drumm@3064.no-reply.drupal.org> Date: Wed, 26 Jul 2006 07:19:41 +0000 Subject: [PATCH] #75039 by jptavan and asimmonds, properly insert data with {}. --- modules/system/system.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/system.install b/modules/system/system.install index 49a8df67d786..ba23868f14f1 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;')"); -- GitLab