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

fix Error while searching for multiple entries with smarty 4.3.4 (#108) #109

Closed davidcoutadeur closed 8 months ago

davidcoutadeur commented 8 months ago

fixes #108

coudot commented 8 months ago

In which case would listing_sortby not be an integer?

davidcoutadeur commented 8 months ago

in the case it is not found in the listing of search attributes, then the array_search returns a boolean (false)

I imagined that was the reason for the previous default:0+1

coudot commented 8 months ago

Indeed. Thanks for the fix.