kavin86 Posted February 23, 2010 Share Posted February 23, 2010 Salve, volevo riportare la correzione di un errore di calcolo età del cliente nel BO. Ho trovato questa soluzione e volevo riportarla nel Forum Italiano. Spero di aver fatto cosa gradita.Versione PS 1.2.5 (risolto nelle successive)Linea 28 del file /admin/tabs/AdminCustomers.php $this->_select = '(YEAR(NOW()) - YEAR(birthday)) as age, ( Sostituire con questo : $this->_select = '(DATE_FORMAT(FROM_DAYS(TO_DAYS(NOW()) - TO_DAYS(birthday)), "%Y")+0) as age, ( Buona giornata Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now