]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Dangerous non-dynamic profile fetching in Notice
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Jun 2014 10:22:07 +0000 (12:22 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Jun 2014 10:22:07 +0000 (12:22 +0200)
commit629cbedee2e26273b5044d6c6b257c1348eb3146
tree7e180bd16bbd58bee587146301d8acebd0c070f5
parentc99d4eddb15d3ebbb7d8b0eee651a1a3d62c1ed6
Dangerous non-dynamic profile fetching in Notice

For a Notice object with multiple results, ->getProfile() would ALWAYS
return the first profile in the list. For example our "popular notices"
stream ended up believing all notices were made by the same profile.
classes/Notice.php