[Rt-commit] r15945 - in rt/branches/3.999-DANGEROUS: share/html/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Sep 12 10:03:47 EDT 2008


Author: sunnavy
Date: Fri Sep 12 10:03:05 2008
New Revision: 15945

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/html/Elements/Header

Log:
 r16672 at sunnavys-mb:  sunnavy | 2008-09-12 21:59:21 +0800
 Jifty->web->current_user is not good for test if logged in or not


Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/Header
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/Header	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/Header	Fri Sep 12 10:03:05 2008
@@ -83,7 +83,7 @@
 % Jifty->handler->stash->{'in_body'} = 1;
   <body<% $id && qq[ id="comp-$id"] |n %>>
 
-% if ($show_bar && Jifty->web->current_user) {
+% if ($show_bar && Jifty->web->current_user->user_object) {
 <& /Elements/Logo, %ARGS &>
 
 <div id="quickbar">


More information about the Rt-commit mailing list