X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-admins_edit.php;h=8ac0ecb36ee12375da83e3c02265c08dac657b22;hp=8f45314ccc77ca581cd723ea75c7af4cfe486267;hb=63f159414369b5ea19a8ca75d8cd8033c45d8341;hpb=a454def0bfba8288ffc839d034c710f034cf4728 diff --git a/inc/modules/admin/what-admins_edit.php b/inc/modules/admin/what-admins_edit.php index 8f45314ccc..8ac0ecb36e 100644 --- a/inc/modules/admin/what-admins_edit.php +++ b/inc/modules/admin/what-admins_edit.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -61,7 +61,7 @@ if (isGetRequestElementSet('admin')) { if ((isFormSent('edit')) && (ifPostContainsSelections())) { // Edit account(s) adminsEditAdminAccount(postRequestArray()); -} elseif ((isFormSent('do_edit')) && (count(postRequestElement('login')) > 0)) { +} elseif ((isFormSent('do_edit')) && (ifPostContainsSelections('login'))) { // Change admin accounts adminsChangeAdminAccount(postRequestArray()); } elseif ((isFormSent('delete')) && (ifPostContainsSelections())) {