0.11-stable: Fix for using `$USER` in custom query when `restrict_owner` is enabled by injecting it into the select options. Closes #7258.
Authored by: osimons 2009-01-21
Parent: [r7795]
Child: [r7797]