Author: KameraadPjotr
Description:
patch
In ForeignAPIRepo.php the index 'name' of $img on line 157 is undeclared, which returns a E_NOTICE. Patch included below.
Version: 1.17.x
Severity: trivial
Attached:
Author: KameraadPjotr
Description:
patch
In ForeignAPIRepo.php the index 'name' of $img on line 157 is undeclared, which returns a E_NOTICE. Patch included below.
Version: 1.17.x
Severity: trivial
Attached:
Bryan.TongMinh wrote:
There is no codepath where ApiQueryAllimages can return an list item without the name key set. Can you provide an image and the shared repo where this occurs?
Fixed in r71436.
I didn't use the attached patch because creating a bunch of null titles would be useless. Without the 'name' attribute, findBySha1() isn't very helpful.