This commit is contained in:
azett 2022-07-02 13:01:21 +02:00
parent e9ad117428
commit fa95af79fc
2 changed files with 7 additions and 3 deletions

View File

@ -1 +1 @@
dummy Please do not mind me at all, just sitting here waiting for the bus :)

View File

@ -407,6 +407,10 @@ class Plugin_PrettyURLs {
$this->cache_delete_elem($id, $date); $this->cache_delete_elem($id, $date);
if ($this->index [$date ['y']] [$date ['m']] === false) {
$this->index [$date ['y']] [$date ['m']] = array();
}
$this->index [$date ['y']] [$date ['m']] [$date ['d']] [md5($title)] = $id; $this->index [$date ['y']] [$date ['m']] [$date ['d']] [md5($title)] = $id;
$this->cache_save(); $this->cache_save();