X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/dc4cbd37d366352e063f16ba0373eecec0cd3134..2b33db994ef8ee17de49df35afac00e4b1a6d45b:/WEB-INF/lib/ttUser.class.php diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index 51e844b9..6b6a44a2 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -43,7 +43,7 @@ class ttUser { var $week_start = 0; // Week start day. var $tracking_mode = 0; // Tracking mode. var $record_type = 0; // Record type (duration vs start and finish, or both). - var $uncompleted_entries = 0; // Uncompleted entries (show nowhere or on users page). + var $uncompleted_indicators = 0; // Uncompleted time entry indicators (show nowhere or on users page). var $currency = null; // Currency. var $plugins = null; // Comma-separated list of enabled plugins. var $team = null; // Team name. @@ -54,7 +54,7 @@ class ttUser { var $rights = 0; // A mask of user rights. // Constructor. - function ttUser($login, $id = null) { + function __construct($login, $id = null) { if (!$login && !$id) { // nothing to initialize return; @@ -93,7 +93,7 @@ class ttUser { $this->week_start = $val['week_start']; $this->tracking_mode = $val['tracking_mode']; $this->record_type = $val['record_type']; - $this->uncompleted_entries = $val['uncompleted_indicators']; + $this->uncompleted_indicators = $val['uncompleted_indicators']; $this->team = $val['team_name']; $this->address = $val['address']; $this->currency = $val['currency'];