From: Ian Jackson Date: Wed, 12 Sep 2012 18:02:30 +0000 (+0100) Subject: wip fix edit X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c57e2e54c4b7e03d882f6fb503653427c26cbe5b;p=nj-awaymsg.git wip fix edit --- diff --git a/mason/edit b/mason/edit index 9fc7a22..651cb3e 100755 --- a/mason/edit +++ b/mason/edit @@ -59,7 +59,7 @@ if (!$tx) { die "no such text $textid"; } % while (my $row = $usedq->fetchrow_hashref()) { Use for <% $row->{'emailaddr'} |h %> {'textid'} eq $textid) { +% if (!$create && $row->{'textid'} eq $textid) { checked>(currently using this message) % } elsif (defined $row->{'textid'}) { >(currently using another message "<% $row->{'desc'} |h %>")