SQL error: SELECT id, link, active, deleted, type, IF(type='action' OR type='formaction', content, '') as content, restricted FROM contents WHERE link = 'kontakt'