https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f13363
)
Changes:
author
Roland Häder
<roland@mxchange.org>
Tue, 25 Oct 2022 23:31:04 +0000
(
01:31
+0200)
committer
Roland Häder
<roland@mxchange.org>
Tue, 25 Oct 2022 23:31:34 +0000
(
01:31
+0200)
- made code more readable
src/Object/Post.php
patch
|
blob
|
history
diff --git
a/src/Object/Post.php
b/src/Object/Post.php
index
7c3d739
..
7467e4f
100644
(file)
--- a/
src/Object/Post.php
+++ b/
src/Object/Post.php
@@
-1050,10
+1050,10
@@
class Post
$this->wall_to_wall = true;
$owner = [
- 'uid' => 0,
- 'id' => $this->getDataValue('owner-id'),
+ 'uid'
=> 0,
+ 'id'
=> $this->getDataValue('owner-id'),
'network' => $this->getDataValue('owner-network'),
- 'url' => $this->getDataValue('owner-link'),
+ 'url'
=> $this->getDataValue('owner-link'),
];
$this->owner_url = Contact::magicLinkByContact($owner);
}