X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/33399ff6a8bdfe9b989810dafe9c4dbf3cf3b685..83747d45c7cc10ba03206a0b509b8d82f8417186:/plugins/CustomFields.class.php diff --git a/plugins/CustomFields.class.php b/plugins/CustomFields.class.php index 1c2483a1..ddd1c4d1 100644 --- a/plugins/CustomFields.class.php +++ b/plugins/CustomFields.class.php @@ -4,6 +4,27 @@ // +----------------------------------------------------------------------+ // | Copyright (c) Anuko International Ltd. (https://www.anuko.com) // +----------------------------------------------------------------------+ +// | LIBERAL FREEWARE LICENSE: This source code document may be used +// | by anyone for any purpose, and freely redistributed alone or in +// | combination with other software, provided that the license is obeyed. +// | +// | There are only two ways to violate the license: +// | +// | 1. To redistribute this code in source form, with the copyright +// | notice or license removed or altered. (Distributing in compiled +// | forms without embedded copyright notices is permitted). +// | +// | 2. To redistribute modified versions of this code in *any* form +// | that bears insufficient indications that the modifications are +// | not the work of the original author(s). +// | +// | This license applies to this document only, not any other software +// | that it may be combined with. +// | +// +----------------------------------------------------------------------+ +// | Contributors: +// | https://www.anuko.com/time_tracker/credits.htm +// +----------------------------------------------------------------------+ class CustomFields { @@ -16,7 +37,7 @@ class CustomFields { var $options = array(); // Array of options for a dropdown custom field. // Constructor. - function CustomFields($team_id) { + function __construct($team_id) { $mdb2 = getConnection(); // Get fields.