summaryrefslogtreecommitdiff
path: root/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'action.php')
-rw-r--r--action.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/action.php b/action.php
index 0f41b969b5..ccd0b182f8 100644
--- a/action.php
+++ b/action.php
@@ -62,14 +62,14 @@ case 'copy-fact':
foreach ($record->getFacts() as $fact) {
if ($fact->getFactId() == $fact_id) {
switch ($fact->getTag()) {
- case 'NOTE':
- case 'SOUR':
- case 'OBJE':
- $type = 'all'; // paste this anywhere
- break;
- default:
- $type = $record::RECORD_TYPE; // paste only to the same record type
- break;
+ case 'NOTE':
+ case 'SOUR':
+ case 'OBJE':
+ $type = 'all'; // paste this anywhere
+ break;
+ default:
+ $type = $record::RECORD_TYPE; // paste only to the same record type
+ break;
}
$clipboard = Session::get('clipboard');
if (!is_array($clipboard)) {