Projet

Général

Profil

Révision 6b24a280

Ajouté par Assos Assos il y a presque 4 ans

-a

Voir les différences:

drupal7/modules/forum/forum.module
922 922
  );
923 923

  
924 924
  $order = _forum_get_topic_order($sortby);
925
  for ($i = 0; $i < count($forum_topic_list_header); $i++) {
925
  // Skip element with index 0 which is NULL.
926
  for ($i = 1; $i < count($forum_topic_list_header); $i++) {
926 927
    if ($forum_topic_list_header[$i]['field'] == $order['field']) {
927 928
      $forum_topic_list_header[$i]['sort'] = $order['sort'];
928 929
    }

Formats disponibles : Unified diff