Restore func_get_args in HTMLFormField
[lhc/web/wiklou.git] / includes / htmlform / HTMLFormField.php
index 0702635..16dc465 100644 (file)
@@ -77,7 +77,9 @@ abstract class HTMLFormField {
         *
         * @return Message
         */
-       public function msg( ...$args ) {
+       public function msg() {
+               $args = func_get_args();
+
                if ( $this->mParent ) {
                        return $this->mParent->msg( ...$args );
                }