diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index f63cf6b7819..69a5f1d133d 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -4677,7 +4677,7 @@ if ($action == 'importsite') {
print ''.$langs->trans("ZipOfWebsitePackageToLoad").'
';
// This will scan the dir /doctemplates/websites and show all templates.
- showWebsiteTemplates($website, GETPOSTINT('importsite') == 2);
+ showWebsiteTemplates($website, GETPOSTINT('importsite') == 2 ? 1 : 0);
print dol_get_fiche_end();