From f23afc34537527f8c7b3405829956442dfcb5b3f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 13 Jul 2015 10:07:38 +0200 Subject: [PATCH] Fix: wrong path and add index.html --- htdocs/core/modules/modHoliday.class.php | 2 +- htdocs/holiday/index.html | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 htdocs/holiday/index.html diff --git a/htdocs/core/modules/modHoliday.class.php b/htdocs/core/modules/modHoliday.class.php index be075f2d57a..11ed1f7c835 100644 --- a/htdocs/core/modules/modHoliday.class.php +++ b/htdocs/core/modules/modHoliday.class.php @@ -115,7 +115,7 @@ class modHoliday extends DolibarrModules // 'group' to add a tab in group view // 'contact' to add a tab in contact view // 'categories_x' to add a tab in category view (replace 'x' by type of category (0=product, 1=supplier, 2=customer, 3=member) - $this->tabs = array('user:+paidholidays:CPTitreMenu:holiday:$user->rights->holiday->write:/holiday/index.php?mainmenu=holiday&id=__ID__'); + $this->tabs = array('user:+paidholidays:CPTitreMenu:holiday:$user->rights->holiday->write:/holiday/list.php?mainmenu=holiday&id=__ID__'); // Boxes $this->boxes = array(); // List of boxes diff --git a/htdocs/holiday/index.html b/htdocs/holiday/index.html new file mode 100644 index 00000000000..e69de29bb2d