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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user