X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fformaction.php;h=7d74fc47130eaf20f6bb23b116e21eab8f9d6664;hb=15ab9ff9e3303255ff14166ee86ffdf3bc4f52ce;hp=5cf05d4a324fede134e48eb9f0024a979f80b6f8;hpb=0a2c51510ca785b5e3564fc0830518527929dc38;p=quix0rs-gnu-social.git diff --git a/lib/formaction.php b/lib/formaction.php index 5cf05d4a32..7d74fc4713 100644 --- a/lib/formaction.php +++ b/lib/formaction.php @@ -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');