Skip to content

Commit 49a70d0

Browse files
Fix errors with UF 4.6
1 parent 810d7e4 commit 49a70d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Models/Member.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function aux()
113113
*/
114114
protected function createAuxIfNotExists()
115115
{
116-
if ($this->auxType && !count($this->aux)) {
116+
if ($this->auxType && is_null($this->aux)) {
117117
// Create aux model and set primary key to be the same as the main user's
118118
$aux = new $this->auxType;
119119

0 commit comments

Comments
 (0)