diff --git a/htdocs/index.php b/htdocs/index.php
index 8fe8ffa377e..361de385a20 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -130,7 +130,10 @@ if (empty($conf->global->MAIN_REMOVE_INSTALL_WARNING)) {
//if (!empty($message)) $message.='
';
$message .= info_admin($langs->transnoentities("WarningConfFileMustBeReadOnly").' '.$langs->trans("WarningUntilDirRemoved", DOL_DOCUMENT_ROOT."/install"), 0, 0, '1', 'clearboth');
}
-
+ $reshook = $hookmanager->executeHooks('infoadmin', $action); // Note that $action and $object may have been modified by some hooks
+ if ($reshook == 0) {
+ $message .= $hookmanager->resPrint;
+ }
if ($message) {
print $message.'
';
//$message.='
';