Fix #272 hook_install() (again)!

This commit is contained in:
Michael Stenta 2020-04-22 15:08:16 -04:00
parent ff88327dac
commit 250ffe575d
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ function farm_update_7053(&$sandbox) {
function farm_update_7054(&$sandbox) {
// @see https://github.com/farmOS/farmOS/issues/272
if (variable_get('theme_default', '') == 'farm_theme') {
db_query('UPDATE {system} SET status = 1 WHERE type = "theme" AND name = "farm_theme" AND status = 0');
db_query("UPDATE {system} SET status = 1 WHERE type = 'theme' AND name = 'farm_theme' AND status = 0");
}
}