diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-01-27 23:01:07 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-01-27 23:01:07 +0000 |
| commit | 15b67ca9d7be4d76297600428e66421ffb7cd865 (patch) | |
| tree | a60d5d2c360fa4b32ef58ed6b1b5cf7481fd61f1 /edit_personal_page.php | |
| parent | 529fe7ac470bbe61b28e71ca901d4052531b79e3 (diff) | |
| download | users-15b67ca9d7be4d76297600428e66421ffb7cd865.tar.gz users-15b67ca9d7be4d76297600428e66421ffb7cd865.tar.bz2 users-15b67ca9d7be4d76297600428e66421ffb7cd865.zip | |
replace old code with new version of the code - we need to stop babysitting outdated code
Diffstat (limited to 'edit_personal_page.php')
| -rw-r--r-- | edit_personal_page.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/edit_personal_page.php b/edit_personal_page.php index ab661f0..a263573 100644 --- a/edit_personal_page.php +++ b/edit_personal_page.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/edit_personal_page.php,v 1.4 2005/08/01 18:42:02 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/edit_personal_page.php,v 1.5 2006/01/27 23:01:05 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: edit_personal_page.php,v 1.4 2005/08/01 18:42:02 squareing Exp $ + * $Id: edit_personal_page.php,v 1.5 2006/01/27 23:01:05 squareing Exp $ * @package users * @subpackage functions */ @@ -53,7 +53,7 @@ if(isset($_REQUEST["preview"])) { ( isset($gBitUser->mInfo['format_guid']) ? $gBitUser->mInfo['format_guid'] : 'tikiwiki' ) ) ); /* SPELLCHECKING INITIAL ATTEMPT */ //This nice function does all the job! - if ($wiki_spellcheck == 'y') { + if ($gBitSystem->isFeatureActive( 'wiki_spellcheck' )) { if (isset($_REQUEST["spellcheck"]) && $_REQUEST["spellcheck"] == 'on') { $parsed = $gBitSystem->spellcheckreplace($edit_data, $parsed, $gBitLanguage->mLanguage, 'editwiki'); $gBitSmarty->assign('spellcheck', 'y'); |
