X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=mobile%2Ftime.php;h=fe723da5806cdb26b8f7d688877cd5003e118c7f;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=364379f4f85fd05034487c0e03f88c9279642ec8;hpb=903dae76e54a4e0c081532a8113c00ef1b56a1b5;p=timetracker.git diff --git a/mobile/time.php b/mobile/time.php index 364379f4..fe723da5 100644 --- a/mobile/time.php +++ b/mobile/time.php @@ -115,9 +115,9 @@ $form = new Form('timeRecordForm'); if ($user->can('track_time')) { $rank = $user->getMaxRankForGroup($group_id); if ($user->can('track_own_time')) - $options = array('group_id'=>$group_id,'status'=>ACTIVE,'max_rank'=>$rank,'include_self'=>true,'self_first'=>true); + $options = array('status'=>ACTIVE,'max_rank'=>$rank,'include_self'=>true,'self_first'=>true); else - $options = array('group_id'=>$group_id,'status'=>ACTIVE,'max_rank'=>$rank); + $options = array('status'=>ACTIVE,'max_rank'=>$rank); $user_list = $user->getUsers($options); if (count($user_list) >= 1) { $form->addInput(array('type'=>'combobox',