Serendipity icon indicating copy to clipboard operation
Serendipity copied to clipboard

Fix more cases of unset (php8 compatibility)

Open hannob opened this issue 3 years ago • 1 comments

The logs show warnings of "Undefined variable $useAtom" for lines 215/218 in serendipity_plugin_syndication.php. This fixes these, it's basically the same as https://github.com/s9y/Serendipity/commit/a3253a0d5512c484d72df973c32e7f46e810bb28 just for two more uses of this variable.

Alternatively one could rework the logic at the beginning to make sure $useAtom is set to False and never undefined.

hannob avatar Aug 09 '22 06:08 hannob

Could you add an increment of the version number of the syndication plugin? It should be a 2.3.1 now.

onli avatar Aug 14 '22 19:08 onli

Thanks!

onli avatar Aug 21 '22 12:08 onli