fix bug #27499

The pull request fix the publish method of all tables and affected by classes
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=27499