summaryrefslogtreecommitdiffstats
path: root/application/controllers/Main.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/Main.php')
-rw-r--r--application/controllers/Main.php2
1 files changed, 1 insertions, 1 deletions
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)) {