diff options
| author | Łukasz Wilenski <wooc@gazeta.pl> | 2011-12-11 17:34:05 +0000 |
|---|---|---|
| committer | Łukasz Wilenski <wooc@gazeta.pl> | 2011-12-11 17:34:05 +0000 |
| commit | d00ccdc7644d11ff6e0bde5329a552f63b984af0 (patch) | |
| tree | 755a2b8f0b96a324808fc66b3e593192e2236e6e /index_edit.php | |
| parent | 19493776d0818d5ab4eddb0e85755750c4d38ee2 (diff) | |
| download | webtrees-d00ccdc7644d11ff6e0bde5329a552f63b984af0.tar.gz webtrees-d00ccdc7644d11ff6e0bde5329a552f63b984af0.tar.bz2 webtrees-d00ccdc7644d11ff6e0bde5329a552f63b984af0.zip | |
fix - Reset to Default Blocks doesn't work
Diffstat (limited to 'index_edit.php')
| -rw-r--r-- | index_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index_edit.php b/index_edit.php index 68e4a8b5d7..03a004eff4 100644 --- a/index_edit.php +++ b/index_edit.php @@ -396,7 +396,7 @@ if ($action=="configure") { echo WT_I18N::translate('Use these blocks as the default block configuration for all users?'), '<input type="checkbox" name="setdefault" value="1" /><br /><br />'; }*/ - echo '<input type="button" value="', WT_I18N::translate('Reset to Default Blocks'), '" onclick="window.location=\'index_edit.php?ctype=$ctype&action=reset&name=', addslashes($name), '\';" />'; + echo '<input type="button" value="', WT_I18N::translate('Reset to Default Blocks'), '" onclick="window.location=\'index_edit.php?ctype=', $ctype, '&action=reset&name=', addslashes($name), '\';" />'; echo ' '; echo '<input type="button" value="', WT_I18N::translate('Save'), '" onclick="select_options(); save_form();" />'; echo ' '; |
