X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttUser.class.php;h=6b6a44a23726875c124ad938ce5cdd7f35e87423;hb=e1703495130c8ed88fe210f50a2a6b453b3c566b;hp=51e844b9b03b6857df90e74f78babe02436e0ad1;hpb=dc4cbd37d366352e063f16ba0373eecec0cd3134;p=timetracker.git 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'];