tazbug rev 107
Display only first line of message
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 10 19:29:38 2017 +0100 (2017-02-10) |
parents | 1a43d9e16913 |
children | 3a01dfb5ed7d |
files | web/bugs.cgi |
line diff
1.1 --- a/web/bugs.cgi Fri Feb 10 19:24:09 2017 +0100 1.2 +++ b/web/bugs.cgi Fri Feb 10 19:29:38 2017 +0100 1.3 @@ -277,11 +277,11 @@ 1.4 id=$(basename $dir) 1.5 . ${msg} 1.6 [ -f "${PEOPLE}/${USER}/account.conf" ] && \ 1.7 - . ${PEOPLE}/${USER}/account.conf 1.8 + . ${PEOPLE}/${USER}/account.conf 1.9 cat << EOT 1.10 <a href="?user=$USER">$(get_gravatar "$MAIL" 24)</a> \ 1.11 ID: <a href="?id=$id">Bug $id</a> <span class="date">- $DATE</span> 1.12 -$MSG 1.13 +$(echo $MSG | head -n 1)... 1.14 EOT 1.15 unset CREATOR USER MAIL 1.16 }