Guard against uncountable tag values
authorSam Wilson <sam@samwilson.id.au>
Sat, 30 Jun 2018 07:55:47 +0000 (15:55 +0800)
committerPaladox <thomasmulhall410@yahoo.com>
Wed, 1 Aug 2018 19:41:57 +0000 (19:41 +0000)
commitb9cc61f6c4b06676ba08bda5ded1e790749f00ac
treece8a167841c076d175496078ca0c2c709223f84e
parent568bd6d1bf0eb65897ca1b21ab3c1d96a96727c7
Guard against uncountable tag values

As of PHP 7.2 counting false or null raises a "Warning: count(): Parameter must be an array or an object that implements Countable".

Bug: T182377
Bug: T196793
Change-Id: I7ca38bc55ae04f68106fe0d27c7d496da1538459
(cherry picked from commit 61af022e5f8e06c2588a8fc3fd003f52bdb85b08)
RELEASE-NOTES-1.31
includes/media/Exif.php