From 4827e4de822cbc33acbf66c1d5b4a392c5a3f90c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 27 Feb 2007 00:21:05 +0000 Subject: =?UTF-8?q?Bug=20369982:=20Meaningless=20column=20in=20userprefs.c?= =?UTF-8?q?gi=20if=20the=20user=20cannot=20share=20his=20saved=20searches?= =?UTF-8?q?=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20= =?UTF-8?q?LpSolit@gmail.com>=20r=3Dwicked=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/account/prefs/saved-searches.html.tmpl | 27 +++++++++------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'template/en/default/account/prefs') diff --git a/template/en/default/account/prefs/saved-searches.html.tmpl b/template/en/default/account/prefs/saved-searches.html.tmpl index e4bbc51ae..399f31b17 100644 --- a/template/en/default/account/prefs/saved-searches.html.tmpl +++ b/template/en/default/account/prefs/saved-searches.html.tmpl @@ -45,15 +45,10 @@ Show in Footer - [% querysharegroup_regexp = '^' _ Param('querysharegroup') _ '$' %] - [% may_share = user.groups.keys.grep($querysharegroup_regexp).size %] + [% may_share = user.in_group(Param('querysharegroup')) && queryshare_groups.size %] [% IF may_share %]