summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-22 08:36:34 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-22 08:36:34 +0000
commit6721bc580a8d22534c8d8e9d523b2a7483cc6866 (patch)
tree1be466006203e0c1a44edb23c45a1dd8e1553245 /modules
parent2f834f032a672f2aeb2109bc670a411e82515a0b (diff)
downloadbrdo-6721bc580a8d22534c8d8e9d523b2a7483cc6866.tar.gz
brdo-6721bc580a8d22534c8d8e9d523b2a7483cc6866.tar.bz2
#166593 by hswong3i: move literal values out of some core queries to support cross-database compatibility (ie. better SQL parsing and altering options)
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 460780709..7771a8536 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1093,7 +1093,7 @@ function system_theme_data() {
$engines = drupal_system_listing('\.engine$', 'themes/engines');
// Remove all theme engines from the system table
- db_query("DELETE FROM {system} WHERE type = 'theme_engine'");
+ db_query("DELETE FROM {system} WHERE type = '%s'", 'theme_engine');
foreach ($engines as $engine) {
// Insert theme engine into system table