mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix: stdclass import
This commit is contained in:
parent
8a12fdc2b2
commit
4ef7c5c93c
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class User extends Model
|
|||
}
|
||||
|
||||
if(is_array($prefs) && empty($prefs)) {
|
||||
$document->setAttribute('prefs', new stdClass);
|
||||
$document->setAttribute('prefs', new \stdClass);
|
||||
}
|
||||
return $document;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue