diff options
| author | Łukasz Wilenski <wooc@gazeta.pl> | 2010-08-24 18:29:44 +0000 |
|---|---|---|
| committer | Łukasz Wilenski <wooc@gazeta.pl> | 2010-08-24 18:29:44 +0000 |
| commit | 6a36bf5e0ac8460408868d4b3aa98656d84c1160 (patch) | |
| tree | 352285a2065a81b11f866bc5ad675e7e6c73b4c1 | |
| parent | 1acb9c99ba71f7ef3588615f485da16f39d7efca (diff) | |
| download | webtrees-6a36bf5e0ac8460408868d4b3aa98656d84c1160.tar.gz webtrees-6a36bf5e0ac8460408868d4b3aa98656d84c1160.tar.bz2 webtrees-6a36bf5e0ac8460408868d4b3aa98656d84c1160.zip | |
fix Missing argument error
| -rw-r--r-- | edit_interface.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit_interface.php b/edit_interface.php index a377192356..0978927fb7 100644 --- a/edit_interface.php +++ b/edit_interface.php @@ -748,12 +748,12 @@ case 'addnewsource': <td class="descriptionbox <?php echo $TEXT_DIRECTION; ?> wrap width25"><?php echo i18n::translate('Select Events'), help_link('edit_SOUR_EVEN'); ?></td> <td class="optionbox wrap"><select name="EVEN[]" multiple="multiple" size="5"> <?php - $parts = explode(',', get_gedcom_setting('INDI_FACTS_ADD')); + $parts = explode(',', get_gedcom_setting(WT_GED_ID, 'INDI_FACTS_ADD')); foreach ($parts as $p=>$key) { ?><option value="<?php echo $key; ?>"><?php echo i18n::translate($key). " ($key)"; ?></option> <?php } - $parts = explode(',', get_gedcom_setting('FAM_FACTS_ADD')); + $parts = explode(',', get_gedcom_setting(WT_GED_ID, 'FAM_FACTS_ADD')); foreach ($parts as $p=>$key) { ?><option value="<?php echo $key; ?>"><?php echo i18n::translate($key). " ($key)"; ?></option> <?php |
