summaryrefslogtreecommitdiff
path: root/includes/view/UserWorkLog_view.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2020-01-09 13:43:10 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2020-01-09 13:43:10 +0100
commit94753bc3d866071980148a2fd9e1bd5fa72b7a13 (patch)
tree1ec4dbea528c4730d0d56b08d84a62df8df62710 /includes/view/UserWorkLog_view.php
parent74cf8d1e69721fd0aaf003b620d47288c8a37222 (diff)
Worklog: Limit worklog comment length to 200 as it is configured in the database
Diffstat (limited to 'includes/view/UserWorkLog_view.php')
-rw-r--r--includes/view/UserWorkLog_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/UserWorkLog_view.php b/includes/view/UserWorkLog_view.php
index 0d5e7797..879979ba 100644
--- a/includes/view/UserWorkLog_view.php
+++ b/includes/view/UserWorkLog_view.php
@@ -45,7 +45,7 @@ function UserWorkLog_edit_form($user_source, $userWorkLog)
form_info(__('User'), User_Nick_render($user_source)),
form_date('work_timestamp', __('Work date'), $userWorkLog['work_timestamp'], null, time()),
form_text('work_hours', __('Work hours'), $userWorkLog['work_hours']),
- form_text('comment', __('Comment'), $userWorkLog['comment']),
+ form_text('comment', __('Comment'), $userWorkLog['comment'], false, 200),
form_submit('submit', __('Save'))
]);
}