From 67b424ad3c275cd7c52a46d70b22f4eae23ebf1a Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 7 Aug 2006 08:33:59 +0000 Subject: [PATCH] Fixed picture probs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4411 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 772694840..865993c2f 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -174,7 +174,6 @@ class user extends plugin /* Load extra attributes: certificate and picture */ $this->load_cert(); - $this->load_picture(); if ($this->userCertificate != ""){ $this->had_userCertificate= TRUE; } @@ -265,6 +264,8 @@ class user extends plugin /* Get random number for pictures */ srand((double)microtime()*1000000); $smarty->assign("rand", rand(0, 10000)); + $this->load_picture(); + /* Do we represent a valid gosaAccount? */ if (!$this->is_account){ -- 2.30.2