summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-08 22:01:04 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-08 22:01:04 +0000
commit29a17a2b0bf2db307dab65d4e5e969a3f30a66c1 (patch)
tree801d82e759eeb45a0e3373cac6be215f32c4d728 /index.php
parent4218a63e18a2e110008a2a847a2adeb0b3578c19 (diff)
downloadcalendar-29a17a2b0bf2db307dab65d4e5e969a3f30a66c1.tar.gz
calendar-29a17a2b0bf2db307dab65d4e5e969a3f30a66c1.tar.bz2
calendar-29a17a2b0bf2db307dab65d4e5e969a3f30a66c1.zip
another accidental package parameter for liberty_content_prefs
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index c4a7a05..1fd78fd 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.39 2006/02/08 21:51:13 squareing Exp $
+// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.40 2006/02/08 22:01:04 squareing Exp $
// Copyright( c ) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
@@ -17,7 +17,7 @@ $gBitSystem->verifyPermission( 'bit_p_view_calendar' );
// setup list of bit items displayed
if( !empty( $_REQUEST["content_type_guid"] ) ) {
if( $gBitUser->isRegistered() ) {
- $gBitUser->storePreference( 'calendar_default_guids', serialize( $_REQUEST['content_type_guid'] ), CALENDAR_PKG_NAME );
+ $gBitUser->storePreference( 'calendar_default_guids', serialize( $_REQUEST['content_type_guid'] ) );
}
$_SESSION['calendar']['content_type_guid'] = $_REQUEST["content_type_guid"];
} elseif( !isset( $_SESSION['calendar']['content_type_guid'] ) && $gBitUser->getPreference( 'calendar_default_guids' ) && $gBitUser->isRegistered() ) {