[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-bugtrack] [bug #18294] Module adhérent : échec saisie cotisati
From: |
luc tech |
Subject: |
[Dolibarr-bugtrack] [bug #18294] Module adhérent : échec saisie cotisation |
Date: |
Tue, 14 Nov 2006 17:15:16 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1) Gecko/20061010 Firefox/2.0 Mnenhy/0.7.4.666 |
URL:
<http://savannah.nongnu.org/bugs/?18294>
Summary: Module adhérent : échec saisie cotisation
Project: Dolibarr
Submitted by: luctech
Submitted on: mardi 14.11.2006 à 17:15
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Operating System: None
_______________________________________________________
Details:
Après remplissage du formulaire de saisie de cotisation, il y a le message
d'erreur suiant :
Fatal error: Call to a member function on a non-object in
D:\mesprogrammes\xampp\htdocs\doli\htdocs\adherents\adherent.class.php on
line 700
Cela semble provenir de ce que le pointeur de classe "$adh" est vide, donc
pas d'id ni fullname.
Je propose la modification suivante (qui fonctionne en local pour moi).
Correction : adherent.class.php (vers ligne 700)
//avant
$inserturlid=$acct->add_url_line($insertid, $adh->id,
DOL_URL_ROOT.'/adherents/fiche.php?rowid=', $adh->getFullname(), 'member');
// nouvelle ligne
$inserturlid=$acct->add_url_line($insertid, $this->id,
DOL_URL_ROOT.'/adherents/fiche.php?rowid=', $this->getFullname(), 'member');
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?18294>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [Dolibarr-bugtrack] [bug #18294] Module adhérent : échec saisie cotisation,
luc tech <=