Bugs item #3010371, was opened at 2010-06-02 11:53
Message generated for change (Comment added) made by christian_boltz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3010371&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: SVN (please specify revision!)
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ansgar (velociraptor_as)
Assigned to: Nobody/Anonymous (nobody)
Summary: Virtual list show no mailboxes
Initial Comment:
I don not know if I am here correct but I think I found a small bug.
The problem: In my admin virtual list view, no mailboxes are visible.
I use the actual svn revision 832.
I search through the code and found a possible solution.
In list-virtual.php in line 202 it sounds $sql_select = " SELECT $table_mailbox.* "; what should be $sql_select = "SELECT $table_mailbox.* ";
So without the leading blank, because functions.inc.php checks in line 1582 if the query starts with "SELECT", what fails with the blank inside.
I hope I could help you.
Best regards
Ansgar
----------------------------------------------------------------------
>Comment By: Christian Boltz (christian_boltz)
Date: 2010-06-22 22:50
Message:
Good catch! I have to admit that I did not even read this part of the code
before ;-)
I went for another fix: instead of changing the query (and possibly
missing another one), I changed the function to use trim() on the query
before checking if it starts with SELECT.
Commited to SVN r836 (trunk), I'll also backport the fix to the 2.3
branch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3010371&group_id=191583
|