Skip to content

Commit

Permalink
Fix 'Lang and script note' update in RAD. (#1846)
Browse files Browse the repository at this point in the history
  • Loading branch information
melaniekung committed Aug 29, 2024
1 parent d00c51b commit facfaf6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugins/sfRadPlugin/lib/sfRadPlugin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ public function setProperty($name, $value)
if (0 == strlen($value)) {
// Delete note if it's available
if (!$missingNote) {
// Update deleted note on duplication
if (!isset($value)) {
$note->content = $value;

break;
}

$note->delete();
}

Expand Down

0 comments on commit facfaf6

Please sign in to comment.