From 3903ced5b4bed1e3be274e61266d2da248a4c217 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 23 Jan 2016 11:30:06 +0100 Subject: [PATCH] Fix: link to add at wrong place --- htdocs/expensereport/list.php | 4 +++- htdocs/holiday/list.php | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php index 8a58541772a..efa6572dd10 100644 --- a/htdocs/expensereport/list.php +++ b/htdocs/expensereport/list.php @@ -335,10 +335,12 @@ if ($resql) print ""; + /* print '
'; print ''.$langs->trans("NewTrip").''; print '
'; - + */ + $db->free($resql); } else diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php index 2a673333430..be4d981bdac 100644 --- a/htdocs/holiday/list.php +++ b/htdocs/holiday/list.php @@ -436,13 +436,13 @@ if($holiday_payes == '2') print ''; print ''; -if ($user_id == $user->id) +/*if ($user_id == $user->id) { print '
'; print '
'; print ''.$langs->trans('AddCP').''; print '
'; -} +}*/ llxFooter();