[mythtv-commits] Ticket #13406: Patches to fix php count warnings with PHP 7.2
MythTV
noreply at mythtv.org
Mon Feb 11 20:44:51 UTC 2019
#13406: Patches to fix php count warnings with PHP 7.2
----------------------------------+---------------------------------
Reporter: daraden | Owner: Stuart Auchterlonie
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: needs_triage
Component: Plugin - MythWeb | Version: Master Head
Severity: low | Keywords:
Ticket locked: 0 |
----------------------------------+---------------------------------
These patches are to resolve count() warnings when using PHP 7.2. Changes
just check if the object is not null before calling the count function,
otherwise the count variable is set to 0.
link to PHP manual noting the count() behavior as an incompatible change
in PHP 7.2[https://secure.php.net/manual/en/migration72.incompatible.php]
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13406>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list