diff options
| author | wjames5 <will@tekimaki.com> | 2008-04-17 14:32:28 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2008-04-17 14:32:28 +0000 |
| commit | 0bdd846c1e6138724327ecdd1032a07f8fcfa2da (patch) | |
| tree | 62090448cb1379b15f2a8ccdc173042bdc885d7f /edit.php | |
| parent | 63b6f9c1048f058548277b5e4da0a3b9bc238c51 (diff) | |
| download | boards-0bdd846c1e6138724327ecdd1032a07f8fcfa2da.tar.gz boards-0bdd846c1e6138724327ecdd1032a07f8fcfa2da.tar.bz2 boards-0bdd846c1e6138724327ecdd1032a07f8fcfa2da.zip | |
merge form params before storage so that additional options from LibertyContent are properly stored
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_boards/edit.php,v 1.7 2008/04/14 09:17:55 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_boards/edit.php,v 1.8 2008/04/17 14:32:28 wjames5 Exp $ * Copyright (c) 2004 bitweaver Messageboards * 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. @@ -53,10 +53,12 @@ if( isset( $_REQUEST["preview"] ) ) { // Pro // Check if the page has changed if( !empty( $_REQUEST["save_bitboard"] ) ) { + // merge our arrays so our storage hash works with LibertyContent storage of LibertyContent add ons. + $storeHash = array_merge( $_REQUEST, $_REQUEST['bitboard'] ); // Check if all Request values are delivered, and if not, set them // to avoid error messages. This can happen if some features are // disabled - if( $gContent->store( $_REQUEST['bitboard'] ) ) { + if( $gContent->store( $storeHash ) ) { $gContent->storePreference( 'board_sync_list_address', (!empty( $_REQUEST['bitboardconfig']['board_sync_list_address'] ) ? $_REQUEST['bitboardconfig']['board_sync_list_address'] : NULL) ); header( "Location: ".$gContent->getDisplayUrl() ); die; |
