ecrire/action/editer_article.php 1 location
|
@@ 425-427 (lines=3) @@
|
| 422 |
|
|
| 423 |
|
$langue = $row_rub['lang']; |
| 424 |
|
$champs['id_secteur'] = $row_rub['id_secteur']; |
| 425 |
|
if (sql_fetsel('1', 'spip_articles', |
| 426 |
|
"id_article=" . intval($id_article) . " AND langue_choisie<>'oui' AND lang<>" . sql_quote($langue))) { |
| 427 |
|
$champs['lang'] = $langue; |
| 428 |
|
} |
| 429 |
|
} |
| 430 |
|
|
ecrire/action/editer_objet.php 1 location
|
@@ 487-489 (lines=3) @@
|
| 484 |
|
} |
| 485 |
|
|
| 486 |
|
if (isset($desc['field']['lang']) and isset($desc['field']['langue_choisie'])) { |
| 487 |
|
if (sql_fetsel('1', $table_sql, |
| 488 |
|
id_table_objet($objet) . "=" . intval($id) . " AND langue_choisie<>'oui' AND lang<>" . sql_quote($langue))) { |
| 489 |
|
$champs['lang'] = $langue; |
| 490 |
|
} |
| 491 |
|
} |
| 492 |
|
} |