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-26 14:47:01 +00:00
parent 7ef750d6ef
commit aa40d1cbb0

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))