]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/formaction.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / lib / formaction.php
index 3900cd06340e71febb701c7673765919c45dde8d..684f92bf96b68f164ec0f0e6d9b3e412e090baae 100644 (file)
@@ -50,7 +50,7 @@ class FormAction extends ManagedAction
     protected function prepare(array $args=array()) {
         parent::prepare($args);
 
-        $this->form = $this->form ?: $this->action;
+        $this->form = $this->form ?: ucfirst($this->action);
         $this->args['form'] = $this->form;
 
         $this->type = !is_null($this->type) ? $this->type : $this->trimmed('type');