Fixing some E_NOTICE bugs around the date header
This commit is contained in:
parent
641f7c334d
commit
eac175ea82
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class Pico {
|
|||
}
|
||||
}
|
||||
|
||||
if($headers['date']) $headers['date_formatted'] = date($config['date_format'], strtotime($headers['date']));
|
||||
if(isset($headers['date'])) $headers['date_formatted'] = date($config['date_format'], strtotime($headers['date']));
|
||||
|
||||
if(empty($headers['title'])){
|
||||
preg_match('/^(.+?)[ ]*\n(=+|-+)[ ]*\n+/imu',$content,$matches);
|
||||
|
|
Loading…
Add table
Reference in a new issue