Update abstract.php

Bug fix for 'always true' conditional for mapping the columns of the data. Fixes problems with getTotal for 1.0.x