Fix a bunch of notice & warning-level messages that were breaking my inter-instance communications
This commit is contained in:
@@ -1145,7 +1145,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
|
||||
if (!empty($poco)) {
|
||||
$url = $poco->getPrimaryURL();
|
||||
if ($url->type == 'homepage') {
|
||||
if ($url && $url->type == 'homepage') {
|
||||
$homepage = $url->value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user