]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticeform.php
Don't tryto show a section if nothing comes back from profiles
[quix0rs-gnu-social.git] / lib / noticeform.php
index 9bc5e0d6a3e261cc4f9385caa99f4b4c7b8f6a23..f0205f1c1ed4bd3b024a57fae2b4e5e5a72cb5ee 100644 (file)
@@ -123,7 +123,7 @@ class NoticeForm extends Form
     {
         $user = common_current_user();
 
-        $this->out->elementStart('ul', 'form_datas');
+        $this->out->elementStart('ul', 'form_data');
         $this->out->elementStart('li', array('id' => 'notice_text'));
         $this->out->element('label', array('for' => 'notice_data-text'),
                             sprintf(_('What\'s up, %s?'), $user->nickname));
@@ -145,9 +145,7 @@ class NoticeForm extends Form
         if ($this->action) {
             $this->out->hidden('notice_return-to', $this->action, 'returnto');
         }
-
         $this->out->hidden('notice_in-reply-to', $this->action, 'inreplyto');
-
     }
 
     /**