[horde] Attributes.php, Delete BUG

Marko Djukic marko at oblo.com
Sun Nov 23 16:00:35 PST 2003


fixed, thanks.

marko

Quoting Miki <mikikg at ptt.yu>:

> 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
>
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list