Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 857 → Rev 858

/trunk/plugins/viathinksoft/objectTypes/fourcc/OIDplusFourCC.class.php
98,12 → 98,16
 
if (self::fourcc_transform($test_str) !== false) {
// real FourCC
return 'fourcc:'.$test_str;
return self::root() . $test_str;
} else {
// just a category
return 'fourcc:'.$this->fourcc.'/'.$str;
if ($this->isRoot()) {
return self::root() . $str;
} else {
return $this->nodeId() . '/' . $str;
}
}
}
 
public function crudShowId(OIDplusObject $parent) {
if ($this->isLeafNode()) {