Normalize all action HTML body ids to lowercase

This commit is contained in:
Zach Copley 2010-10-21 13:03:56 -07:00
parent 648f79be10
commit fb86e7c285

View File

@ -362,7 +362,7 @@ class Action extends HTMLOutputter // lawsuit
*/
function showBody()
{
$this->elementStart('body', (common_current_user()) ? array('id' => $this->trimmed('action'),
$this->elementStart('body', (common_current_user()) ? array('id' => strtolower($this->trimmed('action')),
'class' => 'user_in')
: array('id' => $this->trimmed('action')));
$this->elementStart('div', array('id' => 'wrap'));