phpList / phplist3

Fully functional Open Source email marketing manager for creating, sending, integrating, and analysing email campaigns and newsletters.
https://www.phplist.org
GNU Affero General Public License v3.0
746 stars 269 forks source link

Update connect.php #956

Closed enricozamprogno closed 1 year ago

enricozamprogno commented 1 year ago

the string from elapsed() time method is locale aware; when used in a language other than English ( as Italian ), php does not recognize it as a float value ( division by zero in admin/actions/processqueue.php )

Description

in some case, as the italian language, the method elapsed() of the class timer don't return a string representing a valid float number I have modified the sprint format ( form f to F ) i the elapsed() method to return a non-locale number rappresentation

Related Issue

multiple division by zero in admin/actions/processqueue.php line 1224 and line 262

Screenshots (if appropriate):

bramley commented 1 year ago

This problem has already been identified and fixed in the next release of phplist, see #931.

You can install the 3.6.13-RC1 release candidate to confirm that the fix does work for you, see https://discuss.phplist.org/t/3-6-13-release-candidate-ready-for-testing/8882