From 1677fc677e87d11b8c7f97c4458e3980b77ec463 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 4 Apr 2008 10:42:31 +0000 Subject: [PATCH] Fix: Bad link for prospects --- htdocs/includes/boxes/box_prospect.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/htdocs/includes/boxes/box_prospect.php b/htdocs/includes/boxes/box_prospect.php index 4608156a92e..aa88619af70 100644 --- a/htdocs/includes/boxes/box_prospect.php +++ b/htdocs/includes/boxes/box_prospect.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2007 Laurent Destailleur + * Copyright (C) 2004-2008 Laurent Destailleur * Copyright (C) 2005-2007 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -16,14 +16,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** \file htdocs/includes/boxes/box_prospect.php - \ingroup commercial - \brief Module de g�n�ration de l'affichage de la box prospect + \ingroup societe + \brief Module to generate the last prospects box. + \version $Id$ */ @@ -56,8 +55,8 @@ class box_prospect extends ModeleBoxes { } /** - * \brief Charge les donn�es en m�moire pour affichage ult�rieur - * \param $max Nombre maximum d'enregistrements � charger + * \brief Charge les donnees en memoire pour affichage ulterieur + * \param $max Nombre maximum d'enregistrements a charger */ function loadBox($max=5) { @@ -95,7 +94,7 @@ class box_prospect extends ModeleBoxes { $this->info_box_contents[$i][0] = array('align' => 'left', 'logo' => $this->boximg, 'text' => stripslashes($objp->nom), - 'url' => DOL_URL_ROOT."/comm/prospect/fiche.php?id=".$objp->socid); + 'url' => DOL_URL_ROOT."/comm/prospect/fiche.php?socid=".$objp->socid); $this->info_box_contents[$i][1] = array('align' => 'right', 'text' => dolibarr_print_date($objp->dc, "day"));