Skip to content

Commit 68fb0f3

Browse files
committed
Merge branch '2017.12' into 2018.09
2 parents 0798ca2 + c8ce309 commit 68fb0f3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

kernel/classes/datatypes/ezimage/ezimagetype.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ function deleteStoredObjectAttribute( $contentObjectAttribute, $version = null )
190190
$imageHandler->setAttribute( 'alternative_text', false );
191191
$imageHandler->removeAliases();
192192
$imageHandler->store( $contentObjectAttribute );
193+
$contentObjectAttribute->setContent( null );
193194
}
194195
}
195196

kernel/content/attribute_edit.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,6 @@
334334
$db->begin();
335335
$object->setName( $class->contentObjectName( $object, $version->attribute( 'version' ), $EditLanguage ), $version->attribute( 'version' ), $EditLanguage );
336336
$db->commit();
337-
338-
// While being fetched, attributes might have been modified.
339-
// The list needs to be refreshed so it is accurately displayed.
340-
$contentObjectAttributes = $version->contentObjectAttributes( $EditLanguage );
341337
}
342338
elseif ( $storingAllowed )
343339
{

0 commit comments

Comments
 (0)