We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7061b commit 816494fCopy full SHA for 816494f
1 file changed
lib/Sabre/Album/AlbumPhoto.php
@@ -87,7 +87,7 @@ public function put($data) {
87
88
public function get() {
89
$nodes = $this->rootFolder
90
- ->getUserFolder($this->albumFile->getOwner() || $this->album->getUserId())
+ ->getUserFolder($this->albumFile->getOwner() ?: $this->album->getUserId())
91
->getById($this->albumFile->getFileId());
92
$node = current($nodes);
93
if ($node) {
@@ -108,7 +108,7 @@ public function getFileId(): int {
108
109
public function getFileInfo(): Node {
110
111
- ->getUserFolder($this->albumFile->getOwner() ?? $this->album->getUserId())
112
113
114
0 commit comments