bug with admincp/settings.php

244
Defect
-
2.3.3
2.3.2
AdminCP
Invalid
Low
Trivial
7 years ago
5 years ago
0

Description

What did you do to cause this? regular code analysis

What page were you on? acp/settings

Describe the defect: The language select dropdown has [code]...iif(settings('local') == $local['file'], ' selected="selected"') ...[/code] Should be [code]...iif(settings('local') == str_ireplace('.php', '', $local['file']), ' selected="selected"') ...[/code]

I believe unmodified line number is 84

Ticket History

7 years and 4 months ago by Jack

  • Closed ticket as Invalid

Traq 2.x sets the locale with the file extension where Traq 3.0 does not. Are you sharing the database with Traq 3.0-dev at all?