[Rt-commit] rt branch, 4.0-trunk, updated. rt-3.9.7-1165-gcea4b15
Kevin Falcone
falcone at bestpractical.com
Tue Jan 4 12:11:46 EST 2011
The branch, 4.0-trunk has been updated
via cea4b15531135985e766f59087db31ef723bea86 (commit)
from 6a34bd99526d4df5cf89b575d81a7e399c0e6ff1 (commit)
Summary of changes:
share/html/Elements/Header | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit cea4b15531135985e766f59087db31ef723bea86
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Jan 4 11:25:53 2011 -0500
Document why we check for blessed
diff --git a/share/html/Elements/Header b/share/html/Elements/Header
index ac7f7db..58f7696 100755
--- a/share/html/Elements/Header
+++ b/share/html/Elements/Header
@@ -83,6 +83,8 @@
<!-- Site CSS from theme editor -->
<style type="text/css" media="all" id="sitecss">
+%# Header is used when there isn't a database (such as in the Installer) which means there is no
+%# RT::System object, nor are there attributes.
% if (blessed(RT->System) and my $attr = RT->System->FirstAttribute('UserCSS')) {
<% $attr->Content |n %>
% }
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list