vcard widget needs to include Contact if it's not included from the module that calls it.

This commit is contained in:
Thomas Willingham 2014-01-18 18:38:53 +00:00
parent 52d52a6a4f
commit 331609cb87

View File

@ -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());
}