]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: The name of the item owner was empty in notifications
authorMichael <heluecht@pirati.ca>
Thu, 11 Jan 2018 22:07:41 +0000 (22:07 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 11 Jan 2018 22:07:41 +0000 (22:07 +0000)
include/enotify.php

index 51e25572d3aa7560765236b44aa0ff85eecf0d38..60c5b0ca77c04d07179ae63326ff5f613c4a8916 100644 (file)
@@ -147,7 +147,7 @@ function notification($params)
                        $dest_str = sprintf(t('%1$s commented on [url=%2$s]%3$s\'s %4$s[/url]'),
                                                '[url='.$params['source_link'].']'.$params['source_name'].'[/url]',
                                                $itemlink,
-                                               $p['author-name'],
+                                               $item['author-name'],
                                                $item_post_type);
                }