All pastes #710214 Raw Edit

Untitled

public diff v1 · immutable
#710214 ·published 2007-09-25 10:11 UTC
rendered paste body
 $class = eZContentClass::fetch( $classID );-$contentObjectAttributes =& $version->contentObjectAttributes( $EditLanguage );+if ( ! empty( $$version ) )+    $contentObjectAttributes =& $version->contentObjectAttributes( $EditLanguage );+else+    $contentObjectAttributes = null; if ( $contentObjectAttributes === null or      count( $contentObjectAttributes ) == 0 ) {