[Rt-commit] rt branch, master, updated. rt-3.9.7-1051-g5ae90a3

? sunnavy sunnavy at bestpractical.com
Sun Jan 2 22:24:03 EST 2011


The branch, master has been updated
       via  5ae90a38f0c0f771348f8b2bb6286cb5a20a5833 (commit)
      from  9bbb57a38cc3bbe8709358f646383b26234111de (commit)

Summary of changes:
 share/html/Elements/Header |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 5ae90a38f0c0f771348f8b2bb6286cb5a20a5833
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Jan 3 11:14:59 2011 +0800

    RT->System is not inited if we are in install mode

diff --git a/share/html/Elements/Header b/share/html/Elements/Header
index 34a3ac7..c5f4519 100755
--- a/share/html/Elements/Header
+++ b/share/html/Elements/Header
@@ -81,7 +81,7 @@
 
 <!-- Site CSS from theme editor -->
 <style type="text/css" media="all" id="sitecss">
-% if (my $attr = RT->System->FirstAttribute('UserCSS')) {
+% if ( !RT->InstallMode && (my $attr = RT->System->FirstAttribute('UserCSS')) ) {
 <% $attr->Content |n %>
 % }
 </style>

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


More information about the Rt-commit mailing list