forked from Cavemanon/cavepaintings
how did this work in the first place? x_x
This commit is contained in:
@@ -97,7 +97,7 @@ class AdminPage implements Extension {
|
|||||||
$database->Execute("
|
$database->Execute("
|
||||||
UPDATE tags
|
UPDATE tags
|
||||||
SET count = COALESCE(
|
SET count = COALESCE(
|
||||||
SELECT COUNT(image_id) FROM image_tags WHERE tag_id=tags.id GROUP BY tag_id,
|
(SELECT COUNT(image_id) FROM image_tags WHERE tag_id=tags.id GROUP BY tag_id),
|
||||||
0
|
0
|
||||||
)");
|
)");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user