aboutsummaryrefslogtreecommitdiffstats
path: root/admin/history.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-29 18:30:42 +0100
committerplegall <plg@piwigo.org>2016-02-29 18:30:42 +0100
commitf1f206f1bdf456e4fae92cbab7f96fc65520f7ec (patch)
treeac0dee332ea47f405c83f876baf23c6e78e90978 /admin/history.php
parent1928125edc0cbd958beffbba343aee38b85c75bb (diff)
dynamic list of image_types from history
... because a plugin can add types in history.image_type code by @ddtddt
Diffstat (limited to '')
-rw-r--r--admin/history.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/history.php b/admin/history.php
index c2d3ecb9a..40648e4f6 100644
--- a/admin/history.php
+++ b/admin/history.php
@@ -50,7 +50,7 @@ else
$page['start'] = 0;
}
-$types = array('none', 'picture', 'high', 'other');
+$types = array_merge(array('none'), get_enums(HISTORY_TABLE, 'image_type'));
$display_thumbnails = array('no_display_thumbnail' => l10n('No display'),
'display_thumbnail_classic' => l10n('Classic display'),