Revision db2d93dd
Added by Benjamin Luce over 9 years ago
drupal7/modules/translation/translation.module | ||
---|---|---|
428 | 428 |
* A node object. |
429 | 429 |
*/ |
430 | 430 |
function translation_remove_from_set($node) { |
431 |
if (isset($node->tnid)) { |
|
431 |
if (isset($node->tnid) && $node->tnid) {
|
|
432 | 432 |
$query = db_update('node') |
433 | 433 |
->fields(array( |
434 | 434 |
'tnid' => 0, |
Also available in: Unified diff
Update to 7.37