projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1d8157
)
Add missing calls to parent constructors in subclasses of `TextFormField`
author
Matthias Schmidt
<gravatronics@live.com>
Fri, 15 Jan 2021 10:04:33 +0000
(11:04 +0100)
committer
Matthias Schmidt
<gravatronics@live.com>
Fri, 15 Jan 2021 10:04:33 +0000
(11:04 +0100)
wcfsetup/install/files/lib/system/form/builder/field/ClassNameFormField.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/form/builder/field/TitleFormField.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/system/form/builder/field/ClassNameFormField.class.php
b/wcfsetup/install/files/lib/system/form/builder/field/ClassNameFormField.class.php
index f98f87813c71276fda9dd9589d7d2c2cd1a478e6..8cffd279cecebbb4847e42e6f43f82a9f41b9a38 100644
(file)
--- a/
wcfsetup/install/files/lib/system/form/builder/field/ClassNameFormField.class.php
+++ b/
wcfsetup/install/files/lib/system/form/builder/field/ClassNameFormField.class.php
@@
-47,6
+47,8
@@
class ClassNameFormField extends TextFormField {
* Creates a new instance of `ClassNameFormField`.
*/
public function __construct() {
+ parent::__construct();
+
$this->label('wcf.form.field.className');
}
diff --git
a/wcfsetup/install/files/lib/system/form/builder/field/TitleFormField.class.php
b/wcfsetup/install/files/lib/system/form/builder/field/TitleFormField.class.php
index e15a5f038d13292f1a9888584d13c946575bc265..5bfb374b52a011dfeaade941f6fb1470ef237d68 100644
(file)
--- a/
wcfsetup/install/files/lib/system/form/builder/field/TitleFormField.class.php
+++ b/
wcfsetup/install/files/lib/system/form/builder/field/TitleFormField.class.php
@@
-17,6
+17,8
@@
class TitleFormField extends TextFormField {
* Creates a new instance of `TitleFormField`.
*/
public function __construct() {
+ parent::__construct();
+
$this->label('wcf.global.title');
}