View Single Post
Old 28th January 2013, 19:36
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,037
Thanks: 841
Thanked 5,656 Times in 4,464 Posts

I'am sorry, I missed the post.

The code looks fine, just the following if section seems to be wrong:

if ($global_config['mail']['mailbox_show_custom_rules_tab'] === 'y') {
if($_SESSION["s"]["user"]["typ"] == 'admin') {

I guess it should be:

if($_SESSION["s"]["user"]["typ"] == 'admin' || $global_config['mail']['mailbox_show_custom_rules_tab'] === 'y') {

1. I've tried setting the checkbox to checked by default, but it doesn't appear to work.
The defaults for these fields get applied during installation and are stored in the file install/tpl/system.ini

2. I'd like to commit the code. What's the best way to do that?
Do you have a svn account for the ispconfig svn server? If not, please send a email to dev [at] ispconfig [dot] org with your forum username and if available your username and request a svn login.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote