Closed (fixed)
Project:
DataBase Email Encryption
Version:
7.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
16 May 2013 at 17:47 UTC
Updated:
5 Jun 2013 at 14:33 UTC
This is the error I'm getting:
Strict warning: Only variables should be assigned by reference in dbee_query_alter() (line 365 of dbee.module).
In my particular case, the line in question is below, but the same line appears in other locations and will throw the same error.
$arguments =& $query->getArguments();
The error only appears when php strict mode is on. It doesn't seem to have any noticeable impact on the functionality of the module, and with error dispaly turned off for regular users, its minor, but I thought I'd note it so it can be fixed for the next release.
Comments
Comment #1
thedut commentedThanks EAnushan,
It is a notice error, about php syntax; no consequences.
I will fix it into the next release, replacing each line :
$arguments =& $query->getArguments();by :
$arguments = $query->getArguments();Comment #2
thedut commentedHi again ;)
This fix needs to be tested before including it into the next release !
I hope I will have the time to test it soon !
Comment #3
thedut commentedActually, the fix was more complex. I delete the $query->getArguments(); string.
The dbee_query_alter() function has been rebuild into a more powerfull function.
Fixed into the 7.x-1.3 release
Note : the 6.x branch is not concern by this issue.