← Back to team overview

phpdevshell team mailing list archive

Re: [Question #242073]: Error Updating User (3.5 RC)

 

Question #242073 on PHPDevShell changed:
https://answers.launchpad.net/phpdevshell/+question/242073

    Status: Open => Answered

Greg proposed the following answer:
The db prefix is handled at a lower level, so the query is fine on this.
The problem is that PHPDS_query changed to protect the parameters by
default, and many "old" queries still do the protection themselves. To
fix that, we have to disable it for each said queries:

    protected $autoProtect = false;

(or to rewrite the query in a cleaner way).

I expect a lot of that, but I really think it's for the best, since it
will make the user queries simpler and therefore less error-prone.

-- 
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.