From ce27645944d429b5925b58ce1d514b873efc962b Mon Sep 17 00:00:00 2001 From: Ruslan Lisnyk Date: Thu, 19 May 2005 07:28:04 +0000 Subject: [PATCH] # - Fixed: 'false' instead of '0'. git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/stable/3.5@11882 a01eee8c-daba-0310-acae-fa49f3023285 --- .../ezcontentobject/ezcontentobjectpackagecreator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/classes/packagecreators/ezcontentobject/ezcontentobjectpackagecreator.php b/kernel/classes/packagecreators/ezcontentobject/ezcontentobjectpackagecreator.php index ba80b99123b..d679e14e59b 100644 --- a/kernel/classes/packagecreators/ezcontentobject/ezcontentobjectpackagecreator.php +++ b/kernel/classes/packagecreators/ezcontentobject/ezcontentobjectpackagecreator.php @@ -244,14 +244,14 @@ function validateObjectLimits( &$package, &$http, $currentStepID, &$stepMap, &$p { $options =& $persistentData['object_options']; - $options['include_classes'] = $http->hasPostVariable( 'IncludeClasses' ) ? $http->postVariable( 'IncludeClasses' ) : 0; - $options['include_templates'] = $http->hasPostVariable( 'IncludeTemplates' ) ? $http->postVariable( 'IncludeTemplates' ) : 0; + $options['include_classes'] = $http->hasPostVariable( 'IncludeClasses' ) ? $http->postVariable( 'IncludeClasses' ) : false; + $options['include_templates'] = $http->hasPostVariable( 'IncludeTemplates' ) ? $http->postVariable( 'IncludeTemplates' ) : false; $options['site_access_array'] = $http->postVariable( 'SiteAccesses' ); $options['versions'] = $http->postVariable( 'VersionExport' ); $options['language_array'] = $http->postVariable( 'Languages' ); $options['node_assignment'] = $http->postVariable( 'NodeAssignment' ); $options['related_objects'] = $http->postVariable( 'RelatedObjects' ); - $options['minimal_template_set'] = $http->hasPostVariable( 'MinimalTemplateSet' ) ? $http->postVariable( 'MinimalTemplateSet' ) : 0; + $options['minimal_template_set'] = $http->hasPostVariable( 'MinimalTemplateSet' ) ? $http->postVariable( 'MinimalTemplateSet' ) : false; $result = true; if ( count( $persistentData['object_options']['language_array'] ) == 0 )