Index: trunk/extensions/SemanticMediaWiki/includes/export/SMW_Exp_Data.php |
— | — | @@ -244,7 +244,7 @@ |
245 | 245 | |
246 | 246 | $result[] = array( $subject, $edge, $childSubject ); |
247 | 247 | if ( $childElement instanceof SMWExpData ) { // recursively add child's triples |
248 | | - $result = array_merge( $result, $child->getTripleList( $childSubject ) ); |
| 248 | + $result = array_merge( $result, $childElement->getTripleList( $childSubject ) ); |
249 | 249 | } |
250 | 250 | } |
251 | 251 | } |
Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Concept.php |
— | — | @@ -101,9 +101,6 @@ |
102 | 102 | $desc = $qp->getQueryDescription( str_replace( array( '<', '>', '&' ), array( '<', '>', '&' ), $this->m_dataitem->getConceptQuery() ) ); |
103 | 103 | $exact = true; |
104 | 104 | $owldesc = $this->descriptionToExpData( $desc, $exact ); |
105 | | - if ( $owldesc === false ) { |
106 | | - $element = new SMWExpData( SMWExporter::getSpecialNsResource( 'owl', 'Thing' ) ); |
107 | | - } |
108 | 105 | if ( !$exact ) { |
109 | 106 | $result = new SMWExpData( new SMWExpResource( '' ) ); |
110 | 107 | $result->addPropertyObjectValue( SMWExporter::getSpecialNsResource( 'rdf', 'type' ), |