document details
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 'AND (dtd.document_type = d.document_type OR dtd.d...' at line 20SELECT d.document_type, d.qub_location, d.ucd_location, d.noteworthy, d.paddi_id, dtd.detail_cd, dtd.detail_description, dtd.help, dtd.copyable, dt.detail_data FROM (documents d, document_type_details dtd) LEFT JOIN document_details dt ON (d.document_id = dt.document_id AND dtd.detail_cd = dt.detail_cd) WHERE d.document_id = AND (dtd.document_type = d.document_type OR dtd.document_type = 'default') ORDER BY dtd.ordering
There has been an error, cannot query database, please try again later.