diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 2538841dcd0..8db219b65e2 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -49,7 +49,7 @@ $website=GETPOST('website', 'alpha'); $page=GETPOST('page', 'alpha'); $pageid=GETPOST('pageid', 'int'); $pageref=GETPOST('pageref', 'aZ09'); -$action=GETPOST('action','alpha'); +$action=GETPOST('action','aZ09'); $confirm=GETPOST('confirm','alpha'); $cancel=GETPOST('cancel','alpha'); @@ -1562,9 +1562,9 @@ if (count($object->records) > 0) } else dol_print_error($db); - if ($pagepreviousid) print ''.img_previous($langs->trans("PreviousContainer")).''; + if ($pagepreviousid) print ''.img_previous($langs->trans("PreviousContainer")).''; else print ''.img_previous($langs->trans("PreviousContainer")).''; - if ($pagenextid) print ''.img_next($langs->trans("NextContainer")).''; + if ($pagenextid) print ''.img_next($langs->trans("NextContainer")).''; else print ''.img_next($langs->trans("NextContainer")).''; $websitepage = new WebSitePage($db);