[otrs-cvs] CVS: Incident/Kernel/Modules AgentIncident.pm,1.42,1.43
cvs-log at otrs.org
cvs-log at otrs.org
Wed Dec 6 13:06:26 CET 2006
Update of /home/cvs/Incident/Kernel/Modules
In directory lancelot:/tmp/cvs-serv2246/Kernel/Modules
Modified Files:
AgentIncident.pm
Log Message:
improve format
Index: AgentIncident.pm
===================================================================
RCS file: /home/cvs/Incident/Kernel/Modules/AgentIncident.pm,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** AgentIncident.pm 6 Dec 2006 12:01:40 -0000 1.42
--- AgentIncident.pm 6 Dec 2006 12:06:24 -0000 1.43
***************
*** 3481,3485 ****
);
! # Node Start
$DataView{EventSystemNodeName} = $Data{EventSystemNodeName}{$Data{EventID}}{$Data{SystemID}};
$DataView{EventSystemNodeLocation} = $Data{EventSystemNodeLocation}{$Data{EventID}}{$Data{SystemID}};
--- 3481,3485 ----
);
! # Node Start
$DataView{EventSystemNodeName} = $Data{EventSystemNodeName}{$Data{EventID}}{$Data{SystemID}};
$DataView{EventSystemNodeLocation} = $Data{EventSystemNodeLocation}{$Data{EventID}}{$Data{SystemID}};
***************
*** 4820,4824 ****
);
! # Node Start
$DataView{EventSystemNodeName} = $Incident{EventSystemNodeName}{$EventID}{$SystemID};
$DataView{EventSystemNodeLocation} = $Incident{EventSystemNodeLocation}{$EventID}{$SystemID};
--- 4820,4824 ----
);
! # Node Start
$DataView{EventSystemNodeName} = $Incident{EventSystemNodeName}{$EventID}{$SystemID};
$DataView{EventSystemNodeLocation} = $Incident{EventSystemNodeLocation}{$EventID}{$SystemID};
***************
*** 5446,5455 ****
foreach $Contact (qw(Reporter Victim Officer)) {
if (!$Incident{$Contact}{ID}) {
! $Incident{$Contact . 'ID'} = '';
! # $Param{Check} = 'failed';
}
$Incident{$Contact . 'ID'} = $Incident{$Contact}{ID};
}
! # if ($Param{Check} eq 'OK') {
if (!$Self->{IncidentObject}->IncidentImport(%Incident)) {
return $Self->{LayoutObject}->ErrorScreen(Message => "Can't import the incident");
--- 5446,5455 ----
foreach $Contact (qw(Reporter Victim Officer)) {
if (!$Incident{$Contact}{ID}) {
! $Incident{$Contact . 'ID'} = '';
! # $Param{Check} = 'failed';
}
$Incident{$Contact . 'ID'} = $Incident{$Contact}{ID};
}
! # if ($Param{Check} eq 'OK') {
if (!$Self->{IncidentObject}->IncidentImport(%Incident)) {
return $Self->{LayoutObject}->ErrorScreen(Message => "Can't import the incident");
***************
*** 5458,5462 ****
"Subaction=IncidentView&" .
"TicketID=$Incident{TicketID}");
! # }
}
}
--- 5458,5462 ----
"Subaction=IncidentView&" .
"TicketID=$Incident{TicketID}");
! # }
}
}
***************
*** 5756,5760 ****
);
! # Node Start
$DataView{EventSystemNodeName} = $Incident{EventSystemNodeName}{$EventID}{$SystemID};
$DataView{EventSystemNodeLocation} = $Incident{EventSystemNodeLocation}{$EventID}{$SystemID};
--- 5756,5760 ----
);
! # Node Start
$DataView{EventSystemNodeName} = $Incident{EventSystemNodeName}{$EventID}{$SystemID};
$DataView{EventSystemNodeLocation} = $Incident{EventSystemNodeLocation}{$EventID}{$SystemID};
***************
*** 6091,6100 ****
$Param{$_} = $Self->{ParamObject}->GetParam(Param => $_);
if (!$Param{$_}){
! return $Self->{LayoutObject}->ErrorScreen(Message => "IDM2Incident: Need $_!");
}
}
! #generate content
! $Param{'EventNumber'} = $Self->{LayoutObject}->OptionStrgHashRef(
Data => {
'new' => 'new event',
--- 6091,6100 ----
$Param{$_} = $Self->{ParamObject}->GetParam(Param => $_);
if (!$Param{$_}){
! return $Self->{LayoutObject}->ErrorScreen(Message => "IDM2Incident: Need $_!");
}
}
! # generate content
! $Param{'EventNumber'} = $Self->{LayoutObject}->OptionStrgHashRef(
Data => {
'new' => 'new event',
More information about the cvs-log
mailing list