diff --git a/sites/all/modules/views_bulk_operations/views-bulk-operations-table.tpl.php b/sites/all/modules/views_bulk_operations/views-bulk-operations-table.tpl.php
index f2b546c..a915bad 100644
--- a/sites/all/modules/views_bulk_operations/views-bulk-operations-table.tpl.php
+++ b/sites/all/modules/views_bulk_operations/views-bulk-operations-table.tpl.php
@@ -33,7 +33,7 @@
     <?php foreach ($rows as $count => $row): ?>
       <tr class="<?php print implode(' ', $row_classes[$count]); ?>">
         <?php foreach ($row as $field => $content): ?>
-          <td class="views-field <?php if (!empty($fields[$field])) print "views-field-{$fields[$field]}"; ?>">
+          <td class="views-field<?php if (!empty($field)) print " views-field-{$field}"; ?>">
             <?php print $content; ?>
           </td>
         <?php endforeach; ?>
