[otrs-cvs] Support/Kernel/Modules AdminSupport.pm,1.40,1.41
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/Support/Kernel/Modules
In directory lancelot:/tmp/cvs-serv26117/Kernel/Modules
Modified Files:
AdminSupport.pm
Log Message:
Small modification so TableDataSimple can also take hash refs as data feed, not just semicolon-separated key-value pairs in strings.
Author: mb
Index: AdminSupport.pm
===================================================================
RCS file: /home/cvs/Support/Kernel/Modules/AdminSupport.pm,v
retrieving revision 1.40
retrieving revision 1.41
diff -2 -u -d -r1.40 -r1.41
--- AdminSupport.pm 8 Aug 2012 14:18:33 -0000 1.40
+++ AdminSupport.pm 4 Jan 2013 11:08:44 -0000 1.41
@@ -1,5 +1,5 @@
# --
# Kernel/Modules/AdminSupport.pm - show support information
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -411,5 +411,12 @@
);
- my %TableValues = split /[=;]/, $RowHash->{TableInfo};
+ my %TableValues;
+
+ if ( ref $RowHash->{TableInfo} eq 'HASH' ) {
+ %TableValues = %{ $RowHash->{TableInfo} };
+ }
+ else {
+ %TableValues = split /[=;]/, $RowHash->{TableInfo};
+ }
for my $Item ( sort keys %TableValues ) {
---------------------------------------------------------------------
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