dolibarr-bugtrack
[Top][All Lists]
Advanced

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

[Dolibarr-bugtrack] [bug #18166] Can not delete an action


From: Eryk
Subject: [Dolibarr-bugtrack] [bug #18166] Can not delete an action
Date: Tue, 31 Oct 2006 19:22:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

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

                 Summary: Can not delete an action
                 Project: Dolibarr
            Submitted by: eryk
            Submitted on: Tuesday 10/31/2006 at 19:22
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: None
        Operating System: None

    _______________________________________________________

Details:

Problems with deletion of actions.
When trying to delete an action:
Warning: Missing argument 1 for delete() in <site>actioncomm.class.php on
line 196

Change line 196 from:
Old:
  function delete($id)
    {      
        $sql = "DELETE FROM ".MAIN_DB_PREFIX."actioncomm WHERE id=$id";

To New:
  function delete()
    {      
        $sql = "DELETE FROM ".MAIN_DB_PREFIX."actioncomm WHERE
id=".$this->id;

Eryk



-------------
Version: 2.1-alpha
Server: Apache
Url: /dolibarr-cvs/htdocs/commande/fiche.php?id=6







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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