Update export.class.php

bug fix