mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
- fixed not working copy of accounts via view
- removed debug-message from action()
This commit is contained in:
parent
5bc9ca3a7d
commit
fa4a6608ab
@ -342,7 +342,7 @@ class uicontacts extends bocontacts
|
||||
*/
|
||||
function action($action,$checked,$use_all,&$success,&$failed,&$action_msg,$session_name)
|
||||
{
|
||||
echo "<p>uicontacts::action('$action',".print_r($checked,true).','.(int)$use_all.",...)</p>\n";
|
||||
//echo "<p>uicontacts::action('$action',".print_r($checked,true).','.(int)$use_all.",...)</p>\n";
|
||||
$success = $failed = 0;
|
||||
|
||||
if ($use_all)
|
||||
@ -1068,7 +1068,7 @@ echo "<p>uicontacts::action('$action',".print_r($checked,true).','.(int)$use_all
|
||||
$GLOBALS['egw_info']['user']['account_firstname'],$GLOBALS['egw_info']['user']['account_lastname']),
|
||||
$content['id']));
|
||||
// create a new contact with the content of the old
|
||||
foreach(array('id','modified','modifier') as $key) unset($content[$key]);
|
||||
foreach(array('id','modified','modifier','account_id') as $key) unset($content[$key]);
|
||||
$content['owner'] = $this->prefs['add_default'] ? $this->prefs['add_default'] : $this->user;
|
||||
$content['creator'] = $this->user;
|
||||
$content['created'] = $this->now_su;
|
||||
|
Loading…
Reference in New Issue
Block a user