Commit b996a7d3 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#165141 by hswong3i: when inserting values into VARCHAR fields, we should use...

#165141 by hswong3i: when inserting values into VARCHAR fields, we should use quotes, even if the values are numbers
parent 893b0fbd
......@@ -253,8 +253,8 @@ function system_install() {
db_query("INSERT INTO {variable} (name,value) VALUES('theme_default', 's:7:\"garland\";')");
db_query("UPDATE {system} SET status = 1 WHERE type = 'theme' AND name = 'garland'");
db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', 0, 'garland', 1, '')");
db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', 1, 'garland', 1, '')");
db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', '0', 'garland', 1, '')");
db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', '1', 'garland', 1, '')");
db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment