|
@@ 318-322 (lines=5) @@
|
| 315 |
|
case "redacteurs": |
| 316 |
|
$statut = AUTEURS_MIN_REDAC; |
| 317 |
|
$statut = explode(',', $statut); |
| 318 |
|
if ($en_base) { |
| 319 |
|
$check = array_column(sql_allfetsel('DISTINCT statut', 'spip_auteurs', sql_in('statut', $statut)), 'statut'); |
| 320 |
|
$retire = array_diff($statut, $check); |
| 321 |
|
$statut = array_diff($statut, $retire); |
| 322 |
|
} |
| 323 |
|
|
| 324 |
|
return array_unique($statut); |
| 325 |
|
break; |
|
@@ 349-353 (lines=5) @@
|
| 346 |
|
'statut' |
| 347 |
|
); |
| 348 |
|
$statut = array_merge($statut, $s_complement); |
| 349 |
|
if ($en_base) { |
| 350 |
|
$check = array_column(sql_allfetsel('DISTINCT statut', 'spip_auteurs', sql_in('statut', $statut)), 'statut'); |
| 351 |
|
$retire = array_diff($statut, $check); |
| 352 |
|
$statut = array_diff($statut, $retire); |
| 353 |
|
} |
| 354 |
|
|
| 355 |
|
return array_unique($statut); |
| 356 |
|
break; |