[sork] password query bug

Jan Schneider jan at horde.org
Sat Dec 6 15:33:29 PST 2003


Zitat von tlabs <tlabs at technolabs.ath.cx>:

> I am trying to use a query to generate a passwd change field and get the
> following error.
>
> Parse error: parse error, expecting `')'' in
>
/usr/local/www/domains/m/a/mail.accelerate.uk.com/htdocstest/passwd/config/backends.php
> on line 103
>
>
> the query Im using is this:
>
>         'query_lookup' => 'SELECT password FROM mailusers WHERE
> concat(user,'@',domain) = %u'
> //        'query_modify' => 'UPDATE mailusers SET password = %e WHERE
> concat(user,'@',domain) = %u'
>
> I get the same error with the modify statement, I guess the brackets
> round the concat statement is messing things up.

No, but the not escaped quotes around the @ sign.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the sork mailing list