Browse Source

Minor simplification.

antipode 23 years ago
parent
commit
49e39bb871
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/compose.php

+ 1 - 5
src/compose.php

@@ -544,11 +544,7 @@ function showInputForm () {
          '         &nbsp;&nbsp;<TEXTAREA NAME=body ROWS=20 COLS="' .
          $editor_size . '" WRAP=HARD>' . htmlspecialchars($body);
     if ($use_signature == true && $newmail == true && !isset($from_htmladdr_search)) {
-        if ( $prefix_sig == true ) {
-            echo "\n\n-- \n" . htmlspecialchars($signature);
-        } else {
-            echo "\n\n" . htmlspecialchars($signature);
-        }
+        echo "\n\n".($prefix_sig==true? "-- \n":'').htmlspecialchars($signature);
     }
     echo '</TEXTAREA><BR>' . "\n" .
          '      </TD>' . "\n" .