Skip to content

Commit

Permalink
# - Fixed: 'false' instead of '0'.
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/stable/3.5@11882 a01eee8c-daba-0310-acae-fa49f3023285
  • Loading branch information
Ruslan Lisnyk committed May 19, 2005
1 parent 59e7e46 commit ce27645
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -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 )
Expand Down

0 comments on commit ce27645

Please sign in to comment.