aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2014-01-18 18:38:53 +0000
committerThomas Willingham <founder@kakste.com>2014-01-18 18:38:53 +0000
commit331609cb871517bd35416669492488a3bc14702d (patch)
tree92209c748b1c42cace07369014a92dec9fda2840
parent52d52a6a4f22eb1e478f93c75d75378ccb6bc30a (diff)
downloadvolse-hubzilla-331609cb871517bd35416669492488a3bc14702d.tar.gz
volse-hubzilla-331609cb871517bd35416669492488a3bc14702d.tar.bz2
volse-hubzilla-331609cb871517bd35416669492488a3bc14702d.zip
vcard widget needs to include Contact if it's not included from the module that calls it.
-rw-r--r--include/widgets.php1
1 files changed, 1 insertions, 0 deletions
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());
}