From c78b1f11542a8a2b6846cca7f44d8f3201fd59ad Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 25 May 2018 17:59:58 +0200 Subject: [PATCH] Fix navigation into page containers --- htdocs/website/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 0636cc098a8..14edad66b08 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -1561,9 +1561,10 @@ 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);