diff options
author | Slávek Banko <[email protected]> | 2025-02-22 20:03:37 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2025-02-22 20:03:37 +0100 |
commit | de7d5ed1732ff265a1e7bb79b9e520706d4c6927 (patch) | |
tree | 2bafb382f6578dd2f2558f9b162a6eefc8580b3b /newsentry.php | |
parent | 534fbd936700b7148b74bd0e9688cbab5fda5a18 (diff) | |
download | website-core-master.tar.gz website-core-master.zip |
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'newsentry.php')
-rw-r--r-- | newsentry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newsentry.php b/newsentry.php index 12835a3..33f091c 100644 --- a/newsentry.php +++ b/newsentry.php @@ -12,7 +12,7 @@ function writeNewsEntry($file, $prefix) { // sort($handle, SORT_NUMERIC); - if (($file != ".") && ($file != "..") && ($file{0} != '.')) { + if (($file != ".") && ($file != "..") && ($file[0] != '.')) { echo '<div class="news">'; echo "<h3>$file: "; |