--- trunk/tntnet/dynamic/adm_customer_edit.ecpp 2007/11/29 07:34:54 93 +++ trunk/tntnet/dynamic/adm_customer_edit.ecpp 2007/11/29 08:04:13 94 @@ -22,19 +22,21 @@ int id; %args> +<{ +if (userName.size() == 0) +{ + reply.setHeader("Location", "index"); + return HTTP_MOVED_TEMPORARILY; +} +}> + + <&header title="Customer Administration"> &header> - <{ -if (userName.size() == 0) -{ - reply.setHeader("Refresh", "0; url=login"); - return HTTP_OK; -} - if (id == -1) reply.out() << "