[otrs-cvs] otrs/Kernel/Modules AdminQueue.pm,1.88,1.89
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv28477/Kernel/Modules
Modified Files:
AdminQueue.pm
Log Message:
Avoid automatic systemaddress assignments if the current system address of a queue is invalid.
Author: mg
Index: AdminQueue.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AdminQueue.pm,v
retrieving revision 1.88
retrieving revision 1.89
diff -2 -u -d -r1.88 -r1.89
--- AdminQueue.pm 5 Dec 2012 13:34:25 -0000 1.88
+++ AdminQueue.pm 13 Dec 2012 13:14:42 -0000 1.89
@@ -602,10 +602,13 @@
$Param{SystemAddressOption} = $Self->{LayoutObject}->BuildSelection(
- Data => { $Self->{SystemAddressObject}->SystemAddressList( Valid => 1 ), },
+ Data => {
+ $Self->{SystemAddressObject}->SystemAddressList( Valid => 1 ),
+ },
Translation => 0,
Name => 'SystemAddressID',
SelectedID => $Param{SystemAddressID},
- Max => 200,
- Class => 'Validate_Required ' . ( $Param{Errors}->{'SystemAddressIDInvalid'} || '' ),
+ PossibleNone => 1, # to avoid automatic assignments if the current SA is invalid
+ Max => 200,
+ Class => 'Validate_Required ' . ( $Param{Errors}->{'SystemAddressIDInvalid'} || '' ),
);
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log