[otrs-cvs] otrs/Kernel/Modules AdminQueue.pm,1.82,1.82.2.1
"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-serv28500/Kernel/Modules
Modified Files:
Tag: rel-3_1
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.82
retrieving revision 1.82.2.1
diff -2 -u -d -r1.82 -r1.82.2.1
--- AdminQueue.pm 8 Sep 2011 20:51:33 -0000 1.82
+++ AdminQueue.pm 13 Dec 2012 13:14:51 -0000 1.82.2.1
@@ -1,5 +1,5 @@
# --
# Kernel/Modules/AdminQueue.pm - to add/update/delete queues
-# Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -538,10 +538,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