r71887 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71886‎ | r71887 | r71888 >
Date:16:43, 29 August 2010
Author:mkroetzsch
Status:ok
Tags:
Comment:
mall fix in check, using false instead of null; fixes bug 24363
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php
@@ -773,7 +773,7 @@
774774 $property = SMWPropertyValue::makeProperty( '_CONC' );
775775 $concept_desc = end( $data->getPropertyValues( $property ) );
776776
777 - if ( ( $concept_desc !== null ) && ( $concept_desc->isValid() ) ) {
 777+ if ( ( $concept_desc !== false ) && ( $concept_desc->isValid() ) ) {
778778 $up_conc2 = array(
779779 'concept_txt' => $concept_desc->getConceptText(),
780780 'concept_docu' => $concept_desc->getDocu(),

Status & tagging log