create-domain.php:

- force domain name to lowercase to avoid problems with PgSQL foreign keys

Reported by Munroe Sollog (roe1234@SF),
https://sourceforge.net/tracker/?func=detail&aid=3287965&group_id=191583&atid=937964
after some bughunting on #postfixadmin



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1037 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 14 years ago
parent a6cc2a2947
commit d94b4a6a95

@ -71,6 +71,9 @@ foreach($form_fields as $key => $default) {
} }
} }
} }
$fDomain = strtolower($fDomain);
if ($_SERVER['REQUEST_METHOD'] == "GET") if ($_SERVER['REQUEST_METHOD'] == "GET")
{ {
/* default values as set above */ /* default values as set above */

Loading…
Cancel
Save