lib/ProMotion/table/table.rb in ProMotion-1.0.0 vs lib/ProMotion/table/table.rb in ProMotion-1.0.1
- old
+ new
@@ -171,10 +171,10 @@
if @promotion_table_data.filtered
nil
else
if self.respond_to?(:table_data_index)
self.table_data_index
- elsif self.class.get_indexable
+ elsif self.class.respond_to?(:get_indexable) && self.class.get_indexable
self.index_from_section_titles
else
nil
end
end