Home >
Contributions >
KT-DMS
This contribution has been submitted on 2007-01-18 by Guillaume Dufloux and its has been approved on 2007-02-02 .
This patch has been made for version 3.1b
libération(check-in) sur un fichier conséquent
Modifie le message d’erreur (initialement “Invalid identifier provided for: Document”) affiché lors de la libération d’un document de taille excédant le maximum.
La correction consiste donc a vérifier que la variable $_REQUEST['fDocumentId'] est présente :
$fDocumentId = KTUtil::arrayGet($_REQUEST, "fDocumentId");
if (empty($fDocumentId) ) ...
Dans le cas où elle n’est pas transmise, alors le post_max_size est (sûrement) dépassé :
_kt('Upload larger than maximum POST size (post_max_size variable in .htaccess or php.ini)')
This contribution has been submitted on 2007-01-18 by Guillaume Dufloux and its has been approved on 2007-02-02 .
This patch has been made for version 3.1b