diff options
Diffstat (limited to 'action.php')
| -rw-r--r-- | action.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/action.php b/action.php index 47c36f57df..9f1f42b508 100644 --- a/action.php +++ b/action.php @@ -105,7 +105,7 @@ case 'delete-fact': if ($record && $record->canShow() && $record->canEdit()) { foreach ($record->getFacts() as $fact) { if ($fact->getfactId() == $fact_id && $fact->canShow() && $fact->canEdit()) { - $record->updateFact($fact_id, '', true); + $record->deleteFact($fact_id, true); break 2; } } |
