diff --git a/source.php b/source.php index ad8236a..2d277a0 100644 --- a/source.php +++ b/source.php @@ -22,7 +22,7 @@ if($s == "none") { } } if(array_key_exists($s, $sources)) { - $title = 'Sources - '.$sources[$s]['year']." - ".$sources[$s]['editor']." - ".$sources[$s]['title']; + $title = 'Sources - '.($sources[$s]['period']?$sources[$s]['period']:$sources[$s]['year'])." - ".$sources[$s]['editor']." - ".$sources[$s]['title']; } else { $title = 'Sources - no source'; }