mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Reset broken file & link flags in HtmlEditorField->saveInto() before determining if a record contains broken links.
From: Andrew Short <andrewjshort@gmail.com> git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88989 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
559bbfcca8
commit
5adfc28a43
@ -71,6 +71,9 @@ class HtmlEditorField extends TextareaField {
|
||||
$linkedPages = array();
|
||||
$linkedFiles = array();
|
||||
|
||||
$record->HasBrokenFile = false;
|
||||
$record->HasBrokenLink = false;
|
||||
|
||||
$htmlValue = new SS_HTMLValue($this->value);
|
||||
|
||||
// Populate link tracking for internal links & links to asset files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user