MediaTransformOutput: Allow <img> alt value to be "0"
authorlekshmi <andnlnbn18@gmail.com>
Mon, 3 Mar 2014 14:14:35 +0000 (19:44 +0530)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Sun, 2 Nov 2014 18:00:02 +0000 (19:00 +0100)
commit9ca72fe985d60b56641836f38ad1b0f315e61d43
tree2030d207b45dff80d60f361d392a9165934f2dd8
parent1cd75dd2b53499aec0e515d8354c353d6949b7cf
MediaTransformOutput: Allow <img> alt value to be "0"

Due to use of empty(), the alt and query value was stripped and
replaced with an empty string if the input was "0".

Bug: 38910
Change-Id: I1aef143fc45eb1357e200ad2fcb488dc4876ffbd
includes/media/MediaTransformOutput.php