From ee9f1aa83b7ff2bd87678821a8f29a9a252fc489 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 24 Oct 2011 18:56:00 +0200 Subject: [PATCH] Fix: avoid warning --- htdocs/boxes.php | 12 +++++++----- htdocs/index.php | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/htdocs/boxes.php b/htdocs/boxes.php index d6e7931deed..3df4d552bb2 100644 --- a/htdocs/boxes.php +++ b/htdocs/boxes.php @@ -1,7 +1,7 @@ - * Copyright (C) 2004-2011 Laurent Destailleur - * Copyright (C) 2005-2011 Regis Houssin +/* Copyright (C) 2003 Rodolphe Quiedeville + * Copyright (C) 2004-2011 Laurent Destailleur + * Copyright (C) 2005-2011 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -233,7 +233,8 @@ class InfoBox $j++; } } - else { + else + { $this->error=$this->db->error(); dol_syslog("InfoBox::listBoxes Error ".$this->error, LOG_ERR); return array(); @@ -299,7 +300,8 @@ class InfoBox $j++; } } - else { + else + { $this->error=$this->db->error(); dol_syslog("InfoBox::listBoxes Error ".$this->error, LOG_ERR); return array(); diff --git a/htdocs/index.php b/htdocs/index.php index ca2b6f00896..4e13941923a 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -1,7 +1,7 @@ - * Copyright (C) 2004-2011 Laurent Destailleur - * Copyright (C) 2005-2010 Regis Houssin +/* Copyright (C) 2001-2004 Rodolphe Quiedeville + * Copyright (C) 2004-2011 Laurent Destailleur + * Copyright (C) 2005-2011 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by