diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php
index 8c9090ba550..57442a7fa28 100644
--- a/htdocs/lib/functions.inc.php
+++ b/htdocs/lib/functions.inc.php
@@ -1069,6 +1069,7 @@ function dolibarr_print_error($db='',$msg='')
print $langs->trans("InformationToHelpDiagnose").":
\n";
print "".$langs->trans("Server").": ".$_SERVER["SERVER_SOFTWARE"]."
\n";;
+ print "".$langs->trans("Dolibarr").": ".DOL_VERSION."
\n";;
print "".$langs->trans("RequestedUrl").": ".$_SERVER["REQUEST_URI"]."
\n";;
print "QUERY_STRING: ".$_SERVER["QUERY_STRING"]."
\n";;
print "".$langs->trans("Referer").": ".$_SERVER["HTTP_REFERER"]."
\n";;