Projet

Général

Profil

Révision 6b24a280

Ajouté par Assos Assos il y a presque 4 ans

-a

Voir les différences:

drupal7/includes/common.inc
391 391
 */
392 392
function drupal_get_feeds($delimiter = "\n") {
393 393
  $feeds = drupal_add_feed();
394
  return implode($feeds, $delimiter);
394
  return implode($delimiter, $feeds);
395 395
}
396 396

  
397 397
/**
......
3743 3743
  }
3744 3744

  
3745 3745
  // Prefix with base and remove '../' segments where possible.
3746
  $path = $_base . $matches[1];
3746
  $path = $_base . (isset($matches[1]) ? $matches[1] : '');
3747 3747
  $last = '';
3748 3748
  while ($path != $last) {
3749 3749
    $last = $path;
......
6656 6656
  $children = array();
6657 6657
  $sortable = FALSE;
6658 6658
  foreach ($elements as $key => $value) {
6659
    if ($key === '' || $key[0] !== '#') {
6659
    if (is_int($key) || $key === '' || $key[0] !== '#') {
6660 6660
      $children[$key] = $value;
6661 6661
      if (is_array($value) && isset($value['#weight'])) {
6662 6662
        $sortable = TRUE;

Formats disponibles : Unified diff