From: hickert Date: Fri, 11 Aug 2006 11:35:20 +0000 (+0000) Subject: If you created a new user, without a jpegPhoto, *removed* was stored in this attribute. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cf6b611e63bc70b6e5d8c7c9882593b2ffc6c24;p=gosa.git If you created a new user, without a jpegPhoto, *removed* was stored in this attribute. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4488 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 985b6f01d..add19922d 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -785,7 +785,7 @@ class user extends plugin $this->attrs["jpegPhoto"] = $output; } - } elseif(!$this->new) { + } else{ $this->attrs["jpegPhoto"] = array(); }