Skip to content

Commit

Permalink
fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic committed Feb 22, 2021
1 parent 4b637c1 commit 5ce1dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
}
Expand Down

0 comments on commit 5ce1dda

Please sign in to comment.