currently adds the class block-odd to all blocks.

here's the corrected code will roll into a patch if needed

<?php

function basic_preprocess_block(&$vars, $hook) {
  // Add a striping class.
  $vars['classes_array'][] = 'block-' . $vars['block_zebra'];
}

?>

Comments

damiankloip’s picture

Status: Active » Needs review

This is rolled into the D7 patch for issue: http://drupal.org/node/1138206

damiankloip’s picture

Patch for above issue to go into next 3.x release instead. This bug fix has been committed.

damiankloip’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.