Fix custom image being lost when you're in the edit dialog and click Apply, Save or Apply, Apply

This commit is contained in:
Nathan Gray 2013-07-25 15:01:41 +00:00
parent 8e85c86f8b
commit 36eae09fe0

View File

@ -308,6 +308,7 @@ class resources_bo
if($resource['own_file']['size'] > 0)
{
$msg = $this->save_picture($resource['own_file'],$resource['res_id']);
unset($resource['own_file']);
break;
}
elseif(@egw_vfs::stat('/apps/resources/'.$resource['res_id'].'/'.self::PICTURE_NAME))