mozack Posted November 3, 2009 Share Posted November 3, 2009 Hi to all,I have upgraded to 1.2.5 version of prestashop from 1.2.4. Now, my users cant register beacause the days in birthday dont appear. All the months are ok and the years too, but days dont appear just an - and the -1 number.I remove the birthday from the tpl file but i want it there.How can i resolve the problem? Link to comment Share on other sites More sharing options...
Rui Costa Posted November 24, 2009 Share Posted November 24, 2009 Hi there mozack,in the authetication.php you should have this function: if (isset($_POST['days']) AND is_numeric($_POST['days'])) $selectedDays = intval($_POST['days']); $days = Tools::dateDays();if not, you should put it there.if you already have it just check the class Tools on the Classes folder, and search for the dateDays functions and post it here please.Cheers,Rui Link to comment Share on other sites More sharing options...
mozack Posted November 24, 2009 Author Share Posted November 24, 2009 thanks,It works!Regards Link to comment Share on other sites More sharing options...
Recommended Posts