Index: trunk/extensions/Wikidata/OmegaWiki/Controller.php |
— | — | @@ -509,9 +509,11 @@ |
510 | 510 | $o=OmegaWikiAttributes::getInstance(); |
511 | 511 | |
512 | 512 | $textId = $keyPath->peek(0)->textAttributeId; |
| 513 | + |
513 | 514 | $text = $record->text; |
514 | 515 | |
515 | | - updateTextAttributeValue($text, $textId); |
| 516 | + if ($text != "") |
| 517 | + updateTextAttributeValue($text, $textId); |
516 | 518 | } |
517 | 519 | } |
518 | 520 | |