Jump to content

Recommended Posts

In Admin/customers.php

If your DOB is set to not required in the Admin settings, then this line of code throws an error when trying to update the customer in Admin.

        $customers_dob = tep_db_prepare_input($_POST['customers_dob']);

Warning: Undefined array key "customers_dob"

approx line 32

Share this post


Link to post
Share on other sites

Just wrap that in...

if (is_array($customers_dob) && isset($customers_dob)) {

.....

}

Try it without the is_array() function.

 

 

Edited by Demitry

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×