dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [bug #18039] Module adhérent : impossible créer type


From: luc tech
Subject: [Dolibarr-bugtrack] [bug #18039] Module adhérent : impossible créer type adhérent
Date: Tue, 17 Oct 2006 12:42:57 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

URL:
  <http://savannah.nongnu.org/bugs/?18039>

                 Summary: Module adhérent : impossible créer type adhérent
                 Project: Dolibarr
            Submitted by: luctech
            Submitted on: mardi 17.10.2006 à 12:42
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: None
        Operating System: None

    _______________________________________________________

Details:

Impossible de créer un type adhérent malgré l'attribution de la permission
"" et l'accès à cette fonctionnalité dans l'interface (bouton "nouveau
type").

Dans la mesure où le contrôle est géré (me semble-t-il) par
(non)affichage du choix de menu "type adhérent" dans l'interface, je pense
que le contrôle "$user->admin" peut-être enlevé, il empêche d'entrer dans
les boucles de prises en compte des actions "$POST".

C'est vers la ligne 40 du module adherent/type.php
/* avant if ($_POST["action"] == 'add'  && $user->admin )  */
if ($_POST["action"] == 'add'  )
{

    if ($_POST["button"] != $langs->trans("Cancel")) {
        $adht = new AdherentType($db);

Version 2.1-alpha






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18039>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]