Commit c4259387 authored by jplang's avatar jplang

Add "me" value for logged users only.

git-svn-id: https://svn.redmine.org/redmine/trunk@16193 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 22ae191e
......@@ -812,7 +812,11 @@ module Redmine
end
def query_filter_values(*args)
[["<< #{l(:label_me)} >>", "me"]] + super
values = []
if User.current.logged?
values << ["<< #{l(:label_me)} >>", "me"]
end
values + super
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment