Fix #272 hook_install()!

This commit is contained in:
Michael Stenta 2020-04-15 10:55:35 -04:00
parent ca117e5dfe
commit 92a0b1f403
1 changed files with 1 additions and 1 deletions

View File

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