Since PHP 8.1, passing a null string to trim() is deprecated.
Thus first check that $row['oldValue'] is not null before trimming it.
Closes T15392
Differential D25224
Fix PHP 8.1 "trim(null)" exception which blocks rendering Reports' Burnup Rate page aklapper on May 12 2023, 22:08. Authored by
Details Since PHP 8.1, passing a null string to trim() is deprecated. Thus first check that $row['oldValue'] is not null before trimming it. Closes T15392 Applied this change; afterwards "Burnup Rate" page at /maniphest/report/burn/ got correctly rendered in web browser.
Diff Detail
Event Timeline
Comment Actions Thanks I tested this and it totally works. Also, since if this does not use any phutil_() stuff this will not cause any unexpected nuclear implosion. Hoping to be useful I will just minimize this a bit even more
|