security updates
have to check views and entityreference for custom patches
This commit is contained in:
@@ -169,6 +169,7 @@ function _entity_metadata_convert_schema_type($type) {
|
||||
switch ($type) {
|
||||
case 'int':
|
||||
case 'serial':
|
||||
case 'date':
|
||||
return 'integer';
|
||||
case 'float':
|
||||
case 'numeric':
|
||||
@@ -240,7 +241,9 @@ class EntityDefaultExtraFieldsController implements EntityExtraFieldsControllerI
|
||||
$this->propertyInfo += array('bundles' => array());
|
||||
foreach ($this->propertyInfo['bundles'] as $bundle_name => $info) {
|
||||
foreach ($info['properties'] as $name => $property_info) {
|
||||
$extra[$this->entityType][$bundle_name]['display'][$name] = $this->generateExtraFieldInfo($name, $property_info);
|
||||
if (empty($property_info['field'])) {
|
||||
$extra[$this->entityType][$bundle_name]['display'][$name] = $this->generateExtraFieldInfo($name, $property_info);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $extra;
|
||||
|
||||
Reference in New Issue
Block a user