Made main images of detail pages be in a link, that leads to the image file.
Fixed error in search.
This commit is contained in:
@ -40,7 +40,7 @@ function searchInPages(string $searchTerm):array {
|
||||
|
||||
}
|
||||
|
||||
usort($results, function($a, $b) {
|
||||
uasort($results, function($a, $b) {
|
||||
if ($a['priority'] == $b['priority']) return 0;
|
||||
return ($a['priority'] > $b['priority']) ? -1 : 1;
|
||||
});
|
||||
|
Reference in New Issue
Block a user