From 4f82dce662682002d27fc31d59a32280d4bf3cd8 Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Tue, 12 Jan 2021 19:39:05 -0600 Subject: [PATCH] Changed image->get_tag_array to sort the array before returning --- core/imageboard/image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/imageboard/image.php b/core/imageboard/image.php index cee3a9a4..a57d19d2 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -483,6 +483,7 @@ class Image WHERE image_id=:id ORDER BY tag ", ["id"=>$this->id]); + sort($this->tag_array); } return $this->tag_array; }