quoting sql request...
Mathieu CLABAUT
mathieu.clabaut@free.fr
Mon, 23 Jul 2001 17:10:33 +0200 (CEST)
On Mon, 23 Jul 2001, Mathieu CLABAUT wrote:
> I was unable to modifie a sql row, with a quite recently cvs of turba...
> I had to modifie turba/lib/Driver/sql.php,v 1.6, in the followin fashion :
>
> In function setObject, replace
> $set[] = $field . " = " . $this->db->quoteString($value);
> by
> $set[] = $field . " = '" . $this->db->quoteString($value)."'";
> in order to put quotes around values.
Just for info,
I found the same problem in horde/lib/Prefs/sql.php,v 1.20
-mathieu
--
___________________________________________________________________________
Mathieu CLABAUT mailto:mathieu.clabaut@free.fr
DIGINEXT http://mathieu.clabaut.free.fr
45, impasse de la draille, P.A. La Duranne, tel: 04 42 90 82 91
13857 Aix En Provence - cedex 3 fax: 04 42 90 82 80