diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | application/controllers/Main.php | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ This file lists major, incompatible or otherwise important changes, you should look at it after every update. NEXT + - BREAKING CHANGE: Minimum requried PHP version is now >= 7 + - More PHP 8.1 compatibility fixes 3.6.2 2022-01-09 - Use python3 instead of python for Ubuntu 20.04 and Debian 11 compatibility. @@ -38,7 +38,7 @@ You can also open a pull request on [GitHub](https://github.com/Bluewind/filebin ## Dependencies -* PHP >=5.5 with the following modules +* PHP >=7.0 with the following modules * gd for thumbnail generation * exif for thumbnail generation * phar for tarball creation diff --git a/application/controllers/Main.php b/application/controllers/Main.php index df3e8ad78..d1b0cbbec 100644 --- a/application/controllers/Main.php +++ b/application/controllers/Main.php @@ -98,7 +98,7 @@ class Main extends MY_Controller { { session_write_close(); $id = $this->uri->segment(1); - $lexer = urldecode($this->uri->segment(2)); + $lexer = urldecode($this->uri->segment(2) ?? ''); $is_multipaste = false; if ($this->mmultipaste->id_exists($id)) { |