changeset 642:209d74364eca

Typo of reply address, fixed
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 04 May 2020 11:12:30 +0900
parents a1bcb043589e
children 1fa8d503ea2b
files s4-blog.sh
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-blog.sh	Sun May 03 19:08:07 2020 +0900
+++ b/s4-blog.sh	Mon May 04 11:12:30 2020 +0900
@@ -95,7 +95,7 @@
   test -z "$emails" && return
   err notify: user=$user Admins=`getgroupadmins $blogowner` Mode=$mode Emails="[$emails]"
   MAIL_FROM=$noreply_from \
-  SMAIL_TO="`echo "$blogowner" | nkf -jM | tr -d '\n'` readers <$oreply>" \
+  SMAIL_TO="`echo "$blogowner" | nkf -jM | tr -d '\n'` readers <$noreply>" \
 	  smail "$emails" "${action}通知 $urlbase"<<EOF
 [$blogtitle]板に${action}がありました。
 ※※※このメイルには返信できません(返信は次のURLへ)※※※
@@ -345,6 +345,10 @@
      a_s s
   ON a.id=s.id;
 EOF
+  if [ ! -s $midfile ]; then
+    echo "時間をおいてください(Visit later please)." | html p
+    return
+  fi
   cat $midfile |
   while IFS='|' read id edit notify uid author uname icon aid \
 	   tm reki new hte fa imgids

yatex.org