From 2fc94d0fb69957f2702b10e8f3f68c6948c05d22 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 8 Jan 2023 20:26:14 +0100 Subject: [PATCH] Fix bug : return void --- include/class/document_modele.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class/document_modele.class.php b/include/class/document_modele.class.php index 2f0ef29ab..571e3a499 100644 --- a/include/class/document_modele.class.php +++ b/include/class/document_modele.class.php @@ -286,7 +286,7 @@ class Document_modele } /*!\brief load the value of a document_modele,the ag_id variable must be set */ - function load():void + function load() { $array=$this->cn->get_array("SELECT md_id, md_name, md_lob, md_type, md_filename, md_mimetype,md_affect". " FROM document_modele where md_id=$1",array($this->md_id));