Commit d203f95d authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4727 (Comcode Pages RSS hook fails on PHP 8.1)

parent 78ee5270
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ class Hook_rss_comcode_pages
                        $author = '';
                    }
                    $news_date = date($date_string, $rows3[$id]['p_add_date']);
                    $edit_date = date($date_string, $rows3[$id]['p_edit_date']);
                    $edit_date = ($rows3[$id]['p_edit_date'] === null) ? '' : date($date_string, $rows3[$id]['p_edit_date']);
                    if ($news_date == $edit_date) {
                        $edit_date = '';
                    }