Fixed broken identities
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 29 Mar 2004 17:55:17 +0000 (17:55 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 29 Mar 2004 17:55:17 +0000 (17:55 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6943 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index 6b41f13e183994b3188ed3a53d943e371ffcf3e2..2b87c2f09c65da6e061277a8050074a89fd1fac2 100644 (file)
@@ -102,6 +102,8 @@ if ( !sqgetGlobalVar('smaction',$action) )
   if ( sqgetGlobalVar('smaction_edit_new',$tmp) )   $action = 'edit_as_new';
 }
 
+sm_print_r($_POST);
+die();
 /* Location (For HTTP 1.1 Header("Location: ...") redirects) */
 $location = get_location();
 /* Identities (fetch only once) */
@@ -990,7 +992,7 @@ function showInputForm ($session, $values=false) {
                     _("From:") . '</td>' . "\n" .
                     html_tag( 'td', '', 'left', $color[4], 'width="90%"' ) .
              '         '.
-            addSelect('identitiy', $ident_list, $identity, TRUE);
+            addSelect('identity', $ident_list, $identity, TRUE);
 
         echo '      </td>' . "\n" .
              '   </tr>' . "\n";