Actually this has already been posted as a bug report previously.
And the correct fix to the /admin/profiles.php is ...
to change:
<form id="profileBoxes" name="profileBoxes" action="<?php echo zen_href_link(FILENAME_PROFILES) ?>" method="post">
to read:
<?php echo zen_draw_form('profileBoxes', FILENAME_PROFILES, 'action=insert') ?>
One other change is to fix:
case 'update_name':
zen_update_profile_name($profile, $_POST['profile-name']);
$messageStack->add_session(SUCCESS_PROFILE_NAME_UPDATED, 'success');
zen_redirect(zen_href_link(FILENAME_PROFILES));
break;
and change to:
case 'update_name':
// bof: fix update name
if (trim($_POST['profile-name']) == '') {
$messageStack->add_session(ERROR_INVALID_PROFILE_NAME, 'error');
zen_redirect(zen_href_link(FILENAME_PROFILES));
}
// eof: fix update name
zen_update_profile_name($profile, $_POST['profile-name']);
$messageStack->add_session(SUCCESS_PROFILE_NAME_UPDATED, 'success');
zen_redirect(zen_href_link(FILENAME_PROFILES));
break;
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!