From 5ce1dda349e4f219a38068bdbee708be48ce04d1 Mon Sep 17 00:00:00 2001 From: Pathologic Date: Mon, 22 Feb 2021 15:11:08 +0300 Subject: [PATCH] fix method name --- src/modUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modUsers.php b/src/modUsers.php index 606a4d0..49a28d7 100644 --- a/src/modUsers.php +++ b/src/modUsers.php @@ -248,7 +248,7 @@ protected function loadUserTVs() while ($row = $this->modx->db->getRow($result)) { if ($this->belongsToTemplate($row['tmplvarid'])) { $tv = $this->tvid[$row['tmplvarid']]; - if ($this->isNotTV($tv)) { + if (!$this->isDefaultField($tv)) { $this->field[$tv] = empty($row['value']) ? $this->tvd[$tv]['default'] : $row['value']; } }