bugfix
This commit is contained in:
parent
14ae286aeb
commit
4a70176da0
|
@ -253,7 +253,13 @@ class QvitterAction extends ApiAction
|
|||
|
||||
// Get all topics in Qvitter's namespace in Profile_prefs
|
||||
if($logged_in_user) {
|
||||
|
||||
try {
|
||||
$qvitter_profile_prefs = Profile_prefs::getNamespace(Profile::current(),'qvitter');
|
||||
} catch (Exception $e) {
|
||||
$qvitter_profile_prefs = array();
|
||||
}
|
||||
|
||||
if(count($qvitter_profile_prefs)>0) {
|
||||
$topic_data = new stdClass();
|
||||
foreach($qvitter_profile_prefs as $pref) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user