]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
[CORE] Fix subscription-related functions from the Profile class
authortenma <brvnocasteleiro@gmail.com>
Mon, 12 Aug 2019 03:53:43 +0000 (04:53 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Tue, 13 Aug 2019 02:01:24 +0000 (03:01 +0100)
commit357296baebfe63e1b41efac448951c029609cfb0
treee3f0a4d4568e37aaceca3e1543bde0bc4365b685
parentbff525d26f4f50992ad82f59b6ba73d0b1c91a4d
[CORE] Fix subscription-related functions from the Profile class

The undifined variable $private_stream, from the User class, was causing
undifined behavior from calling requiresSubscriptionApproval. The is_null
test was added to fix this problem.
classes/Profile.php