vcard widget needs to include Contact if it's not included from the module that calls it.
This commit is contained in:
parent
52d52a6a4f
commit
331609cb87
@ -549,6 +549,7 @@ function widget_photo_albums($arr) {
|
||||
|
||||
|
||||
function widget_vcard($arr) {
|
||||
require_once ('include/Contact.php');
|
||||
return vcard_from_xchan('',get_app()->get_observer());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user