• CLASS.DB OUTPUT:
    ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 4
    CLASS.DB OUTPUT:
    QUERY:
    SELECT 
                        IF(content_title = '', name, content_title) AS title 
                    FROM mdl_structure 
                    WHERE id =