Skip counting currentNesting if null
commit6d6d88512a8146939a9161bb03e95e3e97840439
authorJohn Flatness <john@zerocrates.org>
Thu, 28 Dec 2017 07:02:09 +0000 (28 02:02 -0500)
committerEdward Z. Yang <ezyang@mit.edu>
Sat, 30 Dec 2017 05:23:44 +0000 (30 00:23 -0500)
treef916b6baee699b83bf6e24bbdbf47792c780edf1
parentbb7ad665265a29303ec59918f0c1832528bdc509
Skip counting currentNesting if null

This is an error starting in PHP 7.2
library/HTMLPurifier/Injector.php