Skip to content

Commit

Permalink
DS-1065: Login CHooser will place plank div prior to login form (comm…
Browse files Browse the repository at this point in the history
…itted to both trunk and branch)

git-svn-id: http://scm.dspace.org/svn/repo/dspace/branches/dspace-1_8_x@6856 9c30dcfa-912a-0410-8fc2-9e0234be79fd
  • Loading branch information
scott-phillips committed Nov 28, 2011
1 parent 641cf10 commit 69cdf80
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -146,7 +146,9 @@ public void addBody(Body body) throws SQLException, SAXException,
String characters = (String) session
.getAttribute(AuthenticationUtil.REQUEST_INTERRUPTED_CHARACTERS);

if (header != null || message != null || characters != null) {
if ( (header != null && header.trim().length() > 0) ||
(message != null && message.trim().length() > 0) ||
(characters != null && characters.trim().length() > 0)) {
Division reason = body.addDivision("login-reason");

if (header != null)
Expand Down

0 comments on commit 69cdf80

Please sign in to comment.