Code

If you created a new user, without a jpegPhoto, *removed* was stored in this attribute.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Aug 2006 11:35:20 +0000 (11:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Aug 2006 11:35:20 +0000 (11:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4488 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index 985b6f01d4ab8e9d12e3315d899f98b627bd2dda..add19922d867cbe461fd23bf550c9d9a692fd0ec 100644 (file)
@@ -785,7 +785,7 @@ class user extends plugin
         $this->attrs["jpegPhoto"] = $output;
       }
 
-    } elseif(!$this->new) {
+    } else{
       $this->attrs["jpegPhoto"] = array();
     }