Skip to content

Commit

Permalink
Merge branch '2017.12' into 2018.09
Browse files Browse the repository at this point in the history
  • Loading branch information
glye committed Jan 11, 2019
2 parents 0798ca2 + c8ce309 commit 68fb0f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions kernel/classes/datatypes/ezimage/ezimagetype.php
Expand Up @@ -190,6 +190,7 @@ function deleteStoredObjectAttribute( $contentObjectAttribute, $version = null )
$imageHandler->setAttribute( 'alternative_text', false );
$imageHandler->removeAliases();
$imageHandler->store( $contentObjectAttribute );
$contentObjectAttribute->setContent( null );
}
}

Expand Down
4 changes: 0 additions & 4 deletions kernel/content/attribute_edit.php
Expand Up @@ -334,10 +334,6 @@
$db->begin();
$object->setName( $class->contentObjectName( $object, $version->attribute( 'version' ), $EditLanguage ), $version->attribute( 'version' ), $EditLanguage );
$db->commit();

// While being fetched, attributes might have been modified.
// The list needs to be refreshed so it is accurately displayed.
$contentObjectAttributes = $version->contentObjectAttributes( $EditLanguage );
}
elseif ( $storingAllowed )
{
Expand Down

0 comments on commit 68fb0f3

Please sign in to comment.