1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-21 14:02:59 +02:00

Fix minor php type comparison issue in InputfieldTextTags.module config

This commit is contained in:
Ryan Cramer
2021-04-22 14:29:37 -04:00
parent 290e28a249
commit e3425873fb

View File

@@ -712,7 +712,7 @@ class InputfieldTextTags extends Inputfield
$fieldset->icon = 'tags';
$inputfields->prepend($fieldset);
if($this->hasFieldtype && $this->hasFieldtype != 'FieldtypeText') {
if($this->hasFieldtype && "$this->hasFieldtype" !== 'FieldtypeText') {
$fieldset->description = $this->_('There are currently no configurable settings.');
return $inputfields;
}