Update pico.php
Fixes an issue wherein the alphabetical sorting of pages did not happen, because array key was not, in fact, the page's filename.
This commit is contained in:
parent
dc663cee6d
commit
aea6779195
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ class Pico {
|
|||
$sorted_pages[$page_meta['date'].$date_id] = $data;
|
||||
$date_id++;
|
||||
}
|
||||
else $sorted_pages[] = $data;
|
||||
else $sorted_pages[$page] = $data;
|
||||
}
|
||||
|
||||
if($order == 'desc') krsort($sorted_pages);
|
||||
|
|
Loading…
Add table
Reference in a new issue