A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
select id, surname, title, gender, first_name, middle_name, mother_id, father_id, spouse_id, if(birth_year = 0, "", concat(birth_text, " ", birth_year)) as birthday, if (death_year = 0, "", concat(death_text, " ", death_year)) as death_date, birth_text, birth_year, death_text, death_year, birth_place, death_place, comments, fk_folder_id from person where id =