diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-26 07:19:41 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-07-26 07:19:41 +0000 |
commit | 03c92fb60abf7925cdcda3f5174bb05c1a785aaa (patch) | |
tree | 11cedbd723e9d795da7e108386f8c834e63d8e31 | |
parent | b14a62210355e37382eee2f1c883623db77408a8 (diff) | |
download | brdo-03c92fb60abf7925cdcda3f5174bb05c1a785aaa.tar.gz brdo-03c92fb60abf7925cdcda3f5174bb05c1a785aaa.tar.bz2 |
#75039 by jptavan and asimmonds, properly insert data with {}.
-rw-r--r-- | modules/system/system.install | 2 |
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;')"); |