From 097437875bf27998072b139eefe18f9e6450a0ff Mon Sep 17 00:00:00 2001 From: cigamit Date: Sat, 28 Jun 2003 15:01:54 +0000 Subject: [PATCH] Fix bug while modifying addresses, if you get an error, you can't resubmit the form at all. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5139 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addressbook.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/addressbook.php b/src/addressbook.php index 615ba878..8d4c80ff 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -233,7 +233,7 @@ if(sqgetGlobalVar('REQUEST_METHOD', $req_method, SQ_SERVER) && $req_method == 'P echo html_tag( 'table', html_tag( 'tr', html_tag( 'td', - "\n". '
' . _("ERROR") . ': ' . $abook->error . '' ."\n", 'center' ) ), @@ -245,10 +245,10 @@ if(sqgetGlobalVar('REQUEST_METHOD', $req_method, SQ_SERVER) && $req_method == 'P html_tag( 'table', html_tag( 'tr', html_tag( 'td', - "\n". '
' . _("Update address") . '' ."\n", + "\n". '' . _("Update address") . '' ."\n", 'center', $color[0] ) ), - 'center', '', 'width="100%"' ) . + 'center', '', 'width="100%"' ); address_form("editaddr", _("Update address"), $newdata); echo '\n" . -- 2.25.1