diff --git a/htdocs/application/models/pastes.php b/htdocs/application/models/pastes.php index 95e6f1f..53c5992 100644 --- a/htdocs/application/models/pastes.php +++ b/htdocs/application/models/pastes.php @@ -698,7 +698,7 @@ class Pastes extends CI_Model { $stamp = $row['expire']; - if ($now > $stamp) + if ($now > $stamp AND $stamp != 0) { $this->delete_paste($row['pid']); } diff --git a/htdocs/themes/stikkedizr/views/defaults/header.php b/htdocs/themes/stikkedizr/views/defaults/header.php index d9419b1..032dc87 100644 --- a/htdocs/themes/stikkedizr/views/defaults/header.php +++ b/htdocs/themes/stikkedizr/views/defaults/header.php @@ -10,6 +10,7 @@ $page_title .= $this->config->item('site_name');
+