Index: trunk/extensions/SemanticResultFormats/Tree/SRF_Tree.php |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | */ |
61 | 61 | protected function getResultText( SMWQueryResult $res, $outputmode ) { |
62 | 62 | |
63 | | - if ( $this->mTreeProp === null ) { |
| 63 | + if ( $this->mTreeProp === null || $this->mTreeProp === '' ) { |
64 | 64 | $res->addErrors( array( wfMsgForContent( 'srf-noparentprop' ) ) ); |
65 | 65 | return ''; |
66 | 66 | } |