dolibarr/htdocs/api/class
w3houde 6a647097bd
Fix #39355 load images.lib.php before image_format_supported in API (#39462)
The POST /documents endpoint with generateThumbs=1 called
image_format_supported() after requiring only files.lib.php, but that
function is defined in images.lib.php, which was never included on this
path. The call raised a fatal error and the request returned a bare
HTTP 500 with no JSON body. Add the missing require_once.

Signed-off-by: Dolicraft <contact@dolicraft.com>
Co-authored-by: Dolicraft <contact@dolicraft.com>
2026-08-11 19:41:49 +02:00
..
api.class.php Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-16 01:33:36 +01:00
api_access.class.php Fix globalvar 2025-11-20 22:28:38 +01:00
api_documents.class.php Fix #39355 load images.lib.php before image_format_supported in API (#39462) 2026-08-11 19:41:49 +02:00
api_login.class.php Qual: Fix phan notices in API classes 2025-03-02 20:49:46 +01:00
api_objectlinks.class.php fix Objectlink api (#35402) 2025-09-20 00:27:11 +02:00
api_setup.class.php Fix sql injection in sqlfilters API param - reported by sangkilp (#38794) (#39072) 2026-07-10 17:45:13 +02:00
api_status.class.php Qual: Fix phan notices in API classes 2025-03-02 20:49:46 +01:00