From 331609cb871517bd35416669492488a3bc14702d Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Sat, 18 Jan 2014 18:38:53 +0000 Subject: vcard widget needs to include Contact if it's not included from the module that calls it. --- include/widgets.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/widgets.php') diff --git a/include/widgets.php b/include/widgets.php index a1ff756ff..efa350785 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -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()); } -- cgit v1.2.3