Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP badge counters use decimals without the intl extension installed #4002

Closed
mmikkel opened this issue Mar 15, 2019 · 1 comment
Closed

CP badge counters use decimals without the intl extension installed #4002

mmikkel opened this issue Mar 15, 2019 · 1 comment

Comments

@mmikkel
Copy link
Contributor

mmikkel commented Mar 15, 2019

Description

On a site without the intl extension installed, badge counters (e.g. Utilities -> available updates) display with decimals (i.e. 1.00 instead of 1).

The badge counters are localized (i.e. changing the CP's language to nb display badge counters as 1,00).

Installing the intl extension fixes the issue.

image

Steps to reproduce

  1. Install Craft 3.1.18 on a server without the intl extension installed

Additional info

  • Craft version: 3.1.18
  • PHP version: 7.2.14
  • Database driver & version: MySQL 5.7.24
  • Plugins & versions:

image

@brandonkelly
Copy link
Member

Fixed for the next release, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants