[exim-dev] [Bug 167] Make "true" and "false" valid expansion…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Magnus Holmgren
日付:  
To: exim-dev
題目: [exim-dev] [Bug 167] Make "true" and "false" valid expansion conditions
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=167




--- Comment #6 from Magnus Holmgren <holmgren@???> 2007-08-02 10:33:28 ---
On Thursday 02 August 2007 11:19, Nico Erfurth wrote:
> I just think that something like
> ${if true:acl_m1}
>
> is more intuitive than:
> ${if eq{$acl_m1}{1}}
>
> Where you also have to remember whatever you set acl_m1 to true/1/yes
> (I'm pretty bad in remembering these things).


It's easier to leave the variable empty for "false" and set it to anything at
all for "true". Then you can simply check it with def:.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email