Forums / Setup & design / is this bug ? versionview.php !!

is this bug ? versionview.php !!

Author Message

Selmah Maxim

Wednesday 02 July 2003 7:45:09 am

I have this lines for user menu :

{section loop=fetch(content,list,hash(parent_node_id,$BusinessDirID,depth,0,class_filter_type, "include",class_filter_array,array($CompanyDataClassID))) }
{section show=eq($:item.object.owner_id,$UserID)}
{set ObjStat=true()}
{set ObjID=$:item.contentobject_id}
{set NodeID=$:item.node_id}
{/section}
{/section}

work fine, but when i wanna see the versions versionview under content module the values of ObjStat,ObjID,NodeID is false, empty , what the wrong with versionview.php , is this bug or am doing smth wrong here !?

Selmah Maxim

Wednesday 02 July 2003 7:47:47 am

the loop is return false !!!
whay ?!

Selmah Maxim

Wednesday 02 July 2003 7:57:04 am

found it :

{section show=is_unset($ObjID)}
{set ObjID=$object.id}
{/section}

but strange that loop is return false !