[Rt-commit] rt branch, 4.0/queue-already-current-value, updated. rt-4.0.0rc4-27-g7f99a1e

Alex Vandiver alexmv at bestpractical.com
Mon Jan 31 10:22:34 EST 2011


The branch, 4.0/queue-already-current-value has been updated
       via  7f99a1e68b08103105ced140739b9d5ad7102780 (commit)
      from  5d5bb2ce35c710371dadbc4efc4f1936f6c8b938 (commit)

Summary of changes:
 share/html/Admin/Queues/Modify.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7f99a1e68b08103105ced140739b9d5ad7102780
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Jan 31 10:22:30 2011 -0500

    Warnings avoidance

diff --git a/share/html/Admin/Queues/Modify.html b/share/html/Admin/Queues/Modify.html
index bc19320..4be53db 100755
--- a/share/html/Admin/Queues/Modify.html
+++ b/share/html/Admin/Queues/Modify.html
@@ -197,7 +197,7 @@ if ( $QueueObj->Id ) {
         ARGSRef => \%ARGS,
     );
 
-    $ARGS{'Lifecycle'} = undef if $ARGS{'Lifecycle'} eq "default";
+    $ARGS{'Lifecycle'} = undef if defined $ARGS{'Lifecycle'} and $ARGS{'Lifecycle'} eq "default";
     push @results, UpdateRecordObject(
         AttributesRef => \@attribs,
         Object => $QueueObj, 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list