summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php')
-rw-r--r--demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php b/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php
index cc27c93c..a134289c 100644
--- a/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php
@@ -50,8 +50,10 @@ class LogTimeEntry extends TPage
$this->projectMembers->DataSource = $users;
$this->projectMembers->dataBind();
if(is_int($index = array_search($this->User->Name, $users)))
+ {
$this->projectMembers->SelectedIndex = $index;
- $this->showTimeSheet();
+ $this->showTimeSheet();
+ }
}
public function showTimeSheet()