Menu

#374 Colour key is duplicated

Minor
closed
nobody
None
1
2017-02-13
2017-02-13
Anonymous
No

In version 1.6.0 the booking types colour key is duplicated i.e. it shows Internal/External twice. The section in my config.inc.php is the default "Entry Types" section copied from systemdefaults.inc.php.

Discussion

  • Campbell Morrison

    I think that what is happening is that you have defined the booking types twice - once in systemdefaults and then again in the config file. You should only put in the config file settings that you want to change. If you are happy with the defaults then there is no need to do anything. If you do want to change the booking types then you should add the line

    unset($booking_types);
    

    to your config file to get rid of the default types.

     

    Last edit: Campbell Morrison 2017-02-13
  • Campbell Morrison

    I've now (changeset 08582411d9fa) changed systemdefaults.inc.php in the default branch by adding an unset() to make it clearer how it works.

    [hg-code:085824]

     

    Related

    Commit: [085824]


    Last edit: John Beranek 2017-02-13
  • Anonymous

    Anonymous - 2017-02-13

    Yes, that was it, I had a second copy in the config file. Thanks for clearing that up!

     
  • Campbell Morrison

    • status: open --> closed