From c7dfb7eb7e361fc93fe2858e47f200d50f842622 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 Nov 2010 09:18:23 +0000 Subject: [PATCH] Display photo again git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20401 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/generic/infoPage/class_infoPage.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/plugins/generic/infoPage/class_infoPage.inc b/gosa-core/plugins/generic/infoPage/class_infoPage.inc index 146dd553c..86ddf3d6c 100644 --- a/gosa-core/plugins/generic/infoPage/class_infoPage.inc +++ b/gosa-core/plugins/generic/infoPage/class_infoPage.inc @@ -75,7 +75,6 @@ class infoPage extends plugin function execute() { - $this->plugins = $this->getPluginList(); $smarty = get_smarty(); $personalInfoAllowed = FALSE; foreach(array("uid","sn","givenName","street","l","o","ou","jpegPhoto","personalTitle", @@ -96,6 +95,7 @@ class infoPage extends plugin $smarty->assign("attrs", $this->attrs); $smarty->assign("managers", $this->managers); $smarty->assign("plugins", $this->plugins); + $smarty->assign("jpegPhoto", isset($this->attrs['jpegPhoto'])); $smarty->assign("managersCnt", count($this->managers)); return($smarty->fetch(get_template_path("infoPage.tpl"))); } -- 2.30.2