users/edit-alias.php:

- trim() goto targets to avoid wrong messages about empty goto field
  if first line is empty
  https://sourceforge.net/tracker/index.php?func=detail&aid=1839061&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@247 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 17 years ago
parent 8f0b75feda
commit 664aa2b860

@ -72,7 +72,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
$pEdit_alias_goto = $PALANG['pEdit_alias_goto'];
if (isset ($_POST['fVacation'])) $fVacation = $_POST['fVacation'];
if (isset ($_POST['fGoto'])) $fGoto = escape_string ($_POST['fGoto']);
if (isset ($_POST['fGoto'])) $fGoto = escape_string (trim($_POST['fGoto']));
if (isset ($_POST['fForward_and_store'])) $fForward_and_store = escape_string ($_POST['fForward_and_store']);
$goto = strtolower ($fGoto);

Loading…
Cancel
Save