From: hickert Date: Mon, 29 Nov 2010 09:18:23 +0000 (+0000) Subject: Display photo again X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c7dfb7eb7e361fc93fe2858e47f200d50f842622;p=gosa.git Display photo again git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20401 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"))); }