From fbe6fe7ac4508b0bc6aa7789a374bb9520de955d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 1 Apr 2012 20:26:25 +0200 Subject: [PATCH] Checkstyle --- htdocs/fichinter/fiche.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 7350e9df28a..3ea68f6b3d5 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2011 Laurent Destailleur + * Copyright (C) 2004-2012 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2011-2012 Juanjo Menent * @@ -253,13 +253,13 @@ else if ($action == "addline" && $user->rights->ficheinter->creer) $desc=GETPOST('np_desc','alpha'); $date_intervention = dol_mktime(GETPOST('dihour','int'), GETPOST('dimin','int'), 0, GETPOST('dimonth','int'), GETPOST('diday','int'), GETPOST('diyear','int')); - $duration = convertTime2Seconds(GETPOST('durationhour','int'),GETPOST('durationmin','int')); + $duration = convertTime2Seconds(GETPOST('durationhour','int'), GETPOST('durationmin','int')); $result=$object->addline( - $id, - $desc, - $date_intervention, - $duration + $id, + $desc, + $date_intervention, + $duration ); // Define output language @@ -603,7 +603,7 @@ if ($action == 'send' && ! GETPOST('cancel','alpha') && (empty($conf->global->MA $mesg='
'.$langs->trans('ErrorMailRecipientIsEmpty').' !
'; dol_syslog('Recipient email is empty'); } -/* } + /*} else { $langs->load("errors"); @@ -1212,8 +1212,8 @@ else if ($id > 0 || ! empty($ref)) $somethingshown=$formfile->show_documents('ficheinter',$filename,$filedir,$urlsource,$genallowed,$delallowed,$object->modelpdf,1,0,0,28,0,'','','',$soc->default_lang); /* - * Linked object block - */ + * Linked object block + */ $somethingshown=$object->showLinkedObjectBlock(); print ''; @@ -1307,7 +1307,8 @@ else if ($id > 0 || ! empty($ref)) } } -$db->close(); llxFooter(); + +$db->close(); ?>