TB Posted January 5, 2003 Share Posted January 5, 2003 Hi all, Link to contribution (by Richard Harrod): http://www.oscommerce.com/community/contributions,118 If you're running the 'admin customer change' contibution and have noticed that an error appears when you 'double click' the customer in the admin to edit their details then this update is for you. Search for the following code: (around line 560 - 600) echo ' <tr class="dataTableRowSelected" onmouseover="this.style.cursor='hand'" onclick="document.location.href='' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=edit') . ''">' . "n"; and replace it with this code: echo ' <tr class="dataTableRowSelected" onmouseover="this.style.cursor='hand'" onclick="document.location.href='' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'aID', 'action')) . 'cID=' . $cInfo->customers_id . '&aID=1' . '&action=edit') . ''">' . "n"; Hope this helps... Tony Quote "The price of success is perseverance. The price of failure comes much cheaper." Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.