EditTag: allow updating the thumbnail visually

This commit is contained in:
2023-03-11 19:49:17 +01:00
parent a06902335b
commit 6d0aef4df6
3 changed files with 36 additions and 13 deletions

View File

@@ -11,6 +11,7 @@ class Tag
public $id_tag;
public $id_parent;
public $id_asset_thumb;
public $id_user_owner;
public $tag;
public $slug;
public $description;
@@ -258,7 +259,8 @@ class Tag
UPDATE tags
SET
id_parent = {int:id_parent},
id_asset_thumb = {int:id_asset_thumb},
id_asset_thumb = {int:id_asset_thumb},' . (isset($this->id_user_owner) ? '
id_user_owner = {int:id_user_owner},' : '') . '
tag = {string:tag},
slug = {string:slug},
description = {string:description},