diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc
index 1dc42b8902671d68d798d19f89e9c109e3bd35df..34ab301b7394030bafc1a9162983469c9db5c90a 100644 (file)
if ($this->iconData == ""){
$this->set_picture("");
}
- $_SESSION['picture']= $this->iconData;
+ $_SESSION['binary']= $this->iconData;
+ $_SESSION['binarytype']= "image/jpeg";
$this->gosaApplicationIcon= $this->iconData;
/* This is always an account */
if (file_exists($filename)){
$fd = fopen ($filename, "rb");
$this->iconData= fread ($fd, filesize ($filename));
- $_SESSION['picture']= $this->iconData;
+ $_SESSION['binary']= $this->iconData;
+ $_SESSION['binarytype']= "image/jpeg";
$this->gosaApplicationIcon= $this->iconData;
fclose ($fd);