chiark / gitweb /
wip fix edit
[nj-awaymsg.git] / mason / edit
index 9fc7a22d28d72f07a094871d97132436dca7ec94..651cb3e64f85da6ecc77534c4853daf174d0d4e2 100755 (executable)
@@ -59,7 +59,7 @@ if (!$tx) { die "no such text $textid"; }
 % while (my $row = $usedq->fetchrow_hashref()) {
 <tr><td>Use for <% $row->{'emailaddr'} |h %></td>
 <td><input type="checkbox"
-%     if ($row->{'textid'} eq $textid) {
+%     if (!$create && $row->{'textid'} eq $textid) {
  checked></td><td>(currently using this message)
 %     } elsif (defined $row->{'textid'}) {
  ></td><td>(currently using another message "<% $row->{'desc'} |h %>")