2
0
forked from Wavyzz/dolibarr

NEW All ajax pages have now a top_httphead()

This commit is contained in:
Laurent Destailleur
2022-09-03 20:08:13 +02:00
parent a7c17f59b9
commit cfd3eeb245
23 changed files with 84 additions and 290 deletions

View File

@@ -66,6 +66,8 @@ $lang = GETPOST('lang', 'aZ09');
* View
*/
top_httphead('application/json');
if ($action == "getKnowledgeRecord") {
$response = '';
$sql = "SELECT kr.rowid, kr.ref, kr.question, kr.answer,kr.url,ctc.code";