From de7d5ed1732ff265a1e7bb79b9e520706d4c6927 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Sat, 22 Feb 2025 20:03:37 +0100 Subject: Fix compatibility with PHP 8.x. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rss.php') diff --git a/rss.php b/rss.php index 535b6e1..ba014d7 100644 --- a/rss.php +++ b/rss.php @@ -14,7 +14,7 @@ function processDir($dirname, $phpfile) { foreach($filenames as $file) { // sort($handle, SORT_NUMERIC); - if (($file != ".") && ($file != "..") && ($file{0} != '.')) { + if (($file != ".") && ($file != "..") && ($file[0] != '.')) { echo " \n"; $datestring = $file; $datestring = str_replace(".", "-", $datestring); -- cgit v1.2.3