From 1ec02ec3f3e6c9eaaa3cf07b0ebf336528ab2383 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 30 Jan 2003 16:19:20 +0000 Subject: [PATCH] Ooops, full list when editing ... git-svn-id: file:///svn/phpbb/trunk@3423 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/admin/admin_icons.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/admin/admin_icons.php b/phpBB/admin/admin_icons.php index 70dfde10db..023b66a8e3 100644 --- a/phpBB/admin/admin_icons.php +++ b/phpBB/admin/admin_icons.php @@ -169,7 +169,7 @@ switch ($action) { $img = substr($img['path'], 1) . (($img['path'] != '') ? '/' : '') . $img['file']; - if (!in_array($img, $existing_imgs)) + if (!in_array($img, $existing_imgs) || $action == 'edit') { if ((isset($data) && $img == $data[$fields . '_url']) || (!isset($data) && !isset($edit_img)))