Commit f81ca6ec authored by Mark Harding's avatar Mark Harding
Browse files

Merge branch 'hotfix/pro-published-redirection' into 'master'

(fix): Check pro status when exporting pro_published

Closes front#2329

See merge request !416
parents 6a88c337 f179d6ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -825,7 +825,7 @@ class User extends \ElggUser
        $export['programs'] = $this->getPrograms();
        $export['programs'] = $this->getPrograms();
        $export['plus'] = (bool) $this->isPlus();
        $export['plus'] = (bool) $this->isPlus();
        $export['pro'] = (bool) $this->isPro();
        $export['pro'] = (bool) $this->isPro();
        $export['pro_published'] = (bool) $this->isProPublished();
        $export['pro_published'] = $this->isPro() && $this->isProPublished();
        $export['verified'] = (bool) $this->verified;
        $export['verified'] = (bool) $this->verified;
        $export['founder'] = (bool) $this->founder;
        $export['founder'] = (bool) $this->founder;
        $export['disabled_boost'] = (bool) $this->disabled_boost;
        $export['disabled_boost'] = (bool) $this->disabled_boost;