Merge pull request #270 from PJanisio/fixes

Burn on read cron delete fix + Stikkedizr theme fix
This commit is contained in:
Claude 2015-05-26 21:27:52 +02:00
commit bffe7c3973
2 changed files with 2 additions and 1 deletions

View File

@ -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']);
}

View File

@ -10,6 +10,7 @@ $page_title .= $this->config->item('site_name');
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $page_title; ?></title>
<?php