[horde] Attributes.php, Delete BUG

Miki mikikg at ptt.yu
Sun Nov 23 12:07:04 PST 2003


Hello,

I notice some small bug in lib/sql/Attributes.php (CVS)

Function deleteAttributes($id) {
...
        /* Delete attributes. */
        $query = sprintf('DELETE FROM %s WHERE %s = %s',
                         $this->_params['idColumn'],
                         $this->_params['attributeTable'],
                         (int)$id);

Probably must be...

        /* Delete attributes. */
        $query = sprintf('DELETE FROM %s WHERE %s = %s',
                         $this->_params['attributeTable'],
                         $this->_params['idColumn'],
                         (int)$id);

Aleksandar Markovic





More information about the horde mailing list