mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
Ooops, full list when editing ...
git-svn-id: file:///svn/phpbb/trunk@3423 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -169,7 +169,7 @@ switch ($action)
|
|||||||
{
|
{
|
||||||
$img = substr($img['path'], 1) . (($img['path'] != '') ? '/' : '') . $img['file'];
|
$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']) ||
|
if ((isset($data) && $img == $data[$fields . '_url']) ||
|
||||||
(!isset($data) && !isset($edit_img)))
|
(!isset($data) && !isset($edit_img)))
|
||||||
|
Reference in New Issue
Block a user