Fixed reg match for $MDNSent flag
[squirrelmail.git] / src / options_identities.php
index 809210f966788a527468bbbdc8dd594d89e6029d..91744c7964225302cc6372fd37878669b17bfeff 100644 (file)
@@ -9,9 +9,10 @@
  * Display Identities Options
  *
  * $Id$
+ * @package squirrelmail
  */
 
-/* Path for SquirrelMail required files. */
+/** Path for SquirrelMail required files. */
 define('SM_PATH','../');
 
 /* SquirrelMail required files. */
@@ -23,6 +24,7 @@ require_once(SM_PATH . 'functions/html.php');
 /* POST data var names are dynamic because 
    of the possible multiple idents so lets get
    them all
+   FIXME! This circumvents the benefits of rg=0
 */
 if (!empty($_POST)) {
     extract($_POST);
@@ -31,7 +33,7 @@ if (!empty($_POST)) {
 
     if (isset($return)) {
        SaveUpdateFunction();
-       header('Location: options_personal.php');
+       header('Location: '.get_location().'/options_personal.php');
        exit();
     }