[Rt-commit] rt branch, 4.0/attributes-on-system-configuration, updated. rt-4.0.0rc6-24-g831df70
Thomas Sibley
trs at bestpractical.com
Tue Mar 15 13:19:35 EDT 2011
The branch, 4.0/attributes-on-system-configuration has been updated
via 831df7006691f6c429cfdedad6e9cce05ec2762e (commit)
from 0b459417e43bfe18100ded0e0c75785b62930669 (commit)
Summary of changes:
share/html/Admin/Tools/Configuration.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 831df7006691f6c429cfdedad6e9cce05ec2762e
Author: Thomas Sibley <trs at bestpractical.com>
Date: Tue Mar 15 13:16:33 2011 -0400
Give a little more hint about the UserLogo data key
If it exists, then set it to 'DATA' or 'undef' depending on it's
defined-ness. This lets us know if there's actually a data key rather
than just deleting it.
diff --git a/share/html/Admin/Tools/Configuration.html b/share/html/Admin/Tools/Configuration.html
index 4ef29a5..a8ac55f 100644
--- a/share/html/Admin/Tools/Configuration.html
+++ b/share/html/Admin/Tools/Configuration.html
@@ -202,7 +202,8 @@ for my $type (qw/Tickets Queues Transactions Groups PrivilegedUsers Unprivileged
<tr class="<% $index_size%2 ? 'oddline' : 'evenline'%>">
% if ($attr->Name eq 'UserLogo') {
% my $content = $attr->Content;
-% delete $content->{data};
+% $content->{data} = defined $content->{data} ? 'DATA' : 'undef'
+% if exists $content->{data};
<td><% $attr->Name %></td><td><% stringify($content) |n %></td>
% } else {
<td><% $attr->Name %></td><td><% stringify($attr->Content) |n %></td>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list