mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Fix gen_src radio-button not beingable to be selected in resources edit popup
This commit is contained in:
parent
92e29ff0c4
commit
431f0f5168
@ -323,7 +323,7 @@ class resources_bo
|
||||
case 'cat_src':
|
||||
break;
|
||||
case 'gen_src':
|
||||
$resource['picture_src'] = $resource['gen_src_list'];
|
||||
$resource['picture_src'] = 'gen_src';
|
||||
break;
|
||||
default:
|
||||
if($resource['own_file']['size'] > 0)
|
||||
|
@ -477,7 +477,6 @@ class resources_ui
|
||||
if ($res_id > 0)
|
||||
{
|
||||
$content = $this->bo->read($res_id);
|
||||
$content['gen_src_list'] = strpos($content['picture_src'],'.') !== false ? $content['picture_src'] : false;
|
||||
$content['picture_src'] = strpos($content['picture_src'],'.') !== false ? 'gen_src' : $content['picture_src'];
|
||||
$content['link_to'] = array(
|
||||
'to_id' => $res_id,
|
||||
|
Loading…
Reference in New Issue
Block a user