Page 1 of 1

[SOLVED] Can't break out hash() with ESC when file path is specified

Posted: 15 Mar 2018 11:03
by Leito
The help file mentions that the hash() function can be used with the "2" flag in order to show the progress and allow break out with the ESC key.

It works fine with this code:

Code: Select all

Hash("md5",, 3);
But when I try to add a file path as second argument (to use in a foreach loop), progress isn't shown and I can't break the hash with the ESC key:

Code: Select all

Hash("md5", $filePath, 3);
What gives?

Re: Can't break out hash() with ESC when file path is specified

Posted: 15 Mar 2018 11:37
by highend
It works with <curitem> so it should work with an arbitrary file.

I'll move this to Bug Reports...

Re: Can't break out hash() with ESC when file path is specified

Posted: 15 Mar 2018 14:12
by admin
Yep. Fix comes.

Re: Can't break out hash() with ESC when file path is specified

Posted: 15 Mar 2018 14:18
by Leito
admin wrote:Yep. Fix comes.
Thanks!