]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Normalize HTML body ids to lowercase when the user is logged out as well.
authorZach Copley <zach@status.net>
Fri, 22 Oct 2010 18:32:08 +0000 (18:32 +0000)
committerZach Copley <zach@status.net>
Fri, 22 Oct 2010 18:32:08 +0000 (18:32 +0000)
lib/action.php

index 4aa6ace778b8c3c0ed7aaa26428a1b230bee4c7c..01bb0f7e92bebe78bc50ae7eb7afad4f43bbc412 100644 (file)
@@ -364,7 +364,7 @@ class Action extends HTMLOutputter // lawsuit
     {
         $this->elementStart('body', (common_current_user()) ? array('id' => strtolower($this->trimmed('action')),
                                                                     'class' => 'user_in')
-                            : array('id' => $this->trimmed('action')));
+                            : array('id' => strtolower($this->trimmed('action'))));
         $this->elementStart('div', array('id' => 'wrap'));
         if (Event::handle('StartShowHeader', array($this))) {
             $this->showHeader();