UPDATE `civicrm_group`
SET `frontend_description_{$locale}` = `description`
- WHERE `frontend_description_{$locale}` IS NULL OR `frontend_description_{$locale}` = '' AND `description` <> '';
+ WHERE (`frontend_description_{$locale}` IS NULL OR `frontend_description_{$locale}` = '') AND `description` <> '';
{/foreach}
{else}
UPDATE `civicrm_group`
UPDATE `civicrm_group`
SET `frontend_description` = `description`
- WHERE `frontend_description` IS NULL OR `frontend_description` = '' AND description <> '';
+ WHERE (`frontend_description` IS NULL OR `frontend_description` = '') AND description <> '';
{/if}
{literal}