Skip to content
Commit 7dafd583 authored by bladewing's avatar bladewing Committed by lui87kw
Browse files

Avoid substr() error when strpos returns false



"Exception: substr() expects parameter 3 to be int, bool given" can occur on Line 378 $mimePart = substr($icon, 0, strpos($icon, '-'));
This happens, when '-' is not found and strpos returns false instead of an int.
When this occurs, e.g., Activity hangs.

Signed-off-by: default avatarlui87kw <lukas.ifflaender@uni-wuerzburg.de>
parent 3e8087bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment