summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-05-21 12:44:48 +0000
committerwjames5 <will@tekimaki.com>2008-05-21 12:44:48 +0000
commitf664fe07519848d9173f57c537769b290427641b (patch)
treef24eac0c6ed580945a330bedb2ccb59616273f0a /admin
parent49010c0e8452fb7884e5aac3219d85ab9227dc76 (diff)
downloadthemes-f664fe07519848d9173f57c537769b290427641b.tar.gz
themes-f664fe07519848d9173f57c537769b290427641b.tar.bz2
themes-f664fe07519848d9173f57c537769b290427641b.zip
patch assignment of module groups settings to storage hash - fixes bug to respect module group assignments
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_layout_inc.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/admin/admin_layout_inc.php b/admin/admin_layout_inc.php
index fa2fd44..8a21d2e 100644
--- a/admin/admin_layout_inc.php
+++ b/admin/admin_layout_inc.php
@@ -1,5 +1,5 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_themes/admin/admin_layout_inc.php,v 1.6 2007/11/13 09:44:01 squareing Exp $
+// $Header: /cvsroot/bitweaver/_bit_themes/admin/admin_layout_inc.php,v 1.7 2008/05/21 12:44:48 wjames5 Exp $
// Initialization
require_once( '../../bit_setup_inc.php' );
@@ -116,10 +116,7 @@ if( $processForm == 'Hide' ) {
$fAssign = &$_REQUEST['fAssign'];
if( !empty( $_REQUEST['groups'] ) ) {
- $fAssign['groups'] = '';
- foreach( $_REQUEST['groups'] as $groupId ) {
- $fAssign['groups'] .= $groupId.' ';
- }
+ $fAssign['groups'] = $_REQUEST['groups'];
}
// either add the module to all available layouts or just the active one