mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-14 20:14:11 +01:00
handling long info_addr lists, splitting by comma to enable linebreaks
This commit is contained in:
parent
787e034658
commit
cc86fb0ce9
@ -398,6 +398,7 @@ class infolog_ui
|
||||
$readonlys = $rows = array();
|
||||
foreach($infos as $id => $info)
|
||||
{
|
||||
if (!(strpos($info['info_addr'],',')===false) && strpos($info['info_addr'],', ')===false) $info['info_addr'] = str_replace(',',', ',$info['info_addr']);
|
||||
if (!$query['csv_export'])
|
||||
{
|
||||
$info['links'] =& $links[$id];
|
||||
@ -1033,6 +1034,7 @@ class infolog_ui
|
||||
//echo "<p>infolog_ui::edit: info_id=$info_id, action='$action', action_id='$action_id', type='$type', referer='$referer'</p>\n";
|
||||
|
||||
$content = $this->bo->read( $info_id || $action != 'sp' ? $info_id : $action_id );
|
||||
if (!(strpos($content['info_addr'],',')===false) && strpos($content['info_addr'],', ')===false) $content['info_addr'] = str_replace(',',', ',$content['info_addr']);
|
||||
if (is_numeric($_REQUEST['cat_id']))
|
||||
{
|
||||
$content['info_cat'] = (int) $_REQUEST['cat_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user