Changed image->get_tag_array to sort the array before returning
This commit is contained in:
parent
76d8416324
commit
4f82dce662
1 changed files with 1 additions and 0 deletions
|
@ -483,6 +483,7 @@ class Image
|
||||||
WHERE image_id=:id
|
WHERE image_id=:id
|
||||||
ORDER BY tag
|
ORDER BY tag
|
||||||
", ["id"=>$this->id]);
|
", ["id"=>$this->id]);
|
||||||
|
sort($this->tag_array);
|
||||||
}
|
}
|
||||||
return $this->tag_array;
|
return $this->tag_array;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue