Guard against uncountable tag values
authorSam Wilson <sam@samwilson.id.au>
Sat, 30 Jun 2018 07:55:47 +0000 (15:55 +0800)
committerMaxSem <maxsem.wiki@gmail.com>
Sat, 28 Jul 2018 21:27:43 +0000 (21:27 +0000)
commit61af022e5f8e06c2588a8fc3fd003f52bdb85b08
tree73141fa1563b052ded132d71f9d6e0604ccb1b37
parentc04f2eb05d1babda486275fe88d872f7b0393d30
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
includes/media/Exif.php