mirror of
https://github.com/processwire/processwire.git
synced 2025-08-24 15:23:11 +02:00
Fix minor php type comparison issue in InputfieldTextTags.module config
This commit is contained in:
@@ -712,7 +712,7 @@ class InputfieldTextTags extends Inputfield
|
|||||||
$fieldset->icon = 'tags';
|
$fieldset->icon = 'tags';
|
||||||
$inputfields->prepend($fieldset);
|
$inputfields->prepend($fieldset);
|
||||||
|
|
||||||
if($this->hasFieldtype && $this->hasFieldtype != 'FieldtypeText') {
|
if($this->hasFieldtype && "$this->hasFieldtype" !== 'FieldtypeText') {
|
||||||
$fieldset->description = $this->_('There are currently no configurable settings.');
|
$fieldset->description = $this->_('There are currently no configurable settings.');
|
||||||
return $inputfields;
|
return $inputfields;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user