ltb-project / service-desk

Application for support team who need to check and reset user passwords
https://service-desk.readthedocs.io/
GNU General Public License v3.0
49 stars 19 forks source link

Error while searching for multiple entries with smarty 4.3.4 #108

Closed davidcoutadeur closed 8 months ago

davidcoutadeur commented 8 months ago

Logs in debug:

[31-Oct-2023 15:06:36 UTC] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string + int in /var/cache/service-desk/templates_c/6913e809c7eab23f8772a07622a58dd886a0440e_2.file.footer.tpl.php:81

The errors occurs in templates/footer.tpl:

        [ {/literal}{$listing_sortby|default:0 +1}{literal}, "asc" ]

The default value expects a string, not an integer.