SF Feature #2931999 - Upload file and view for "picture" fields
This commit is contained in:
@@ -99,7 +99,7 @@ class AttributeFactory {
|
||||
if (! strcasecmp($name,'objectClass')) {
|
||||
return $this->newObjectClassAttribute($name,$values,$server_id,$source);
|
||||
|
||||
} elseif ($app['server']->isJpegPhoto($name)) {
|
||||
} elseif ($app['server']->isJpegPhoto($name) || in_array($name,$app['server']->getValue('server','jpeg_attributes'))) {
|
||||
return $this->newJpegAttribute($name,$values,$server_id,$source);
|
||||
|
||||
} elseif ($app['server']->isAttrBinary($name)) {
|
||||
|
Reference in New Issue
Block a user