mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Ooops, full list when editing ...
git-svn-id: file:///svn/phpbb/trunk@3423 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
8ee977f1d1
commit
1ec02ec3f3
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue