@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | } |
128 | 128 | } |
129 | 129 | } |
130 | - if ($user_id < 0 || $gedcom_id < 0 ) { |
|
130 | + if ($user_id < 0 || $gedcom_id < 0) { |
|
131 | 131 | header('Location: ' . WT_BASE_URL . 'admin.php'); |
132 | 132 | } elseif ($user_id > 0) { |
133 | 133 | header('Location: ' . WT_BASE_URL . 'index.php?ctype=user&ged=' . $WT_TREE->getNameUrl()); |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | <?= FontAwesome::decorativeIcon('save') ?> |
372 | 372 | <?= I18N::translate('save') ?> |
373 | 373 | </button> |
374 | - <?php if ($user_id < 0 || $gedcom_id < 0 ): ?> |
|
374 | + <?php if ($user_id < 0 || $gedcom_id < 0): ?> |
|
375 | 375 | <a class="btn btn-secondary" href="admin.php"> |
376 | 376 | <?php elseif ($user_id > 0): ?> |
377 | 377 | <a class="btn btn-secondary" href="index.php?ctype=user&ged=<?= $WT_TREE->getNameHtml() ?>"> |