embedded object inline view bug?

Author Message

M Desdin

Monday 20 October 2003 3:30:15 am

this code is taken from kernel/classes/datatypes/ezxmltext/handlers/output/ezxhtmlxmloutput.php, lines 335-344:

// Check if the template overrides the block flow setting
if ( $tpl->hasVariable( 'is_block', 'xmltagns:ContentView' ) )
{
$isBlockTagOverride = $tpl->variable( 'is_block', 'xmltagns' );

if ( $isBlockTagOverride == 'true' )
$isBlockTag = true;
else
$isBlockTag = false;
}

shouldn't both namespaces be equal (in condition and assignment )?
and why use :ContentView at all?

TIA, MD.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.