stable

Clone or download

Read-only

Do not use count() for testing an object validity when updating a FRS release

count() is used on null if we try to update a non existing release. This generates a warning on PHP 7 so it should be avoided. Part of request #12147: Fix PHP 7.2 warnings and errors Change-Id: I2e32876b65740c795dd453d6159ffac97a9dadcb

Modified Files

Name
M src/common/frs/FRSReleaseFactory.class.php +4 −4 Go to diff View file
M src/www/file/file_utils.php +2 −2 Go to diff View file