Fix fatal error on export.php
Merge pull request #2 from asadowski10/patch-1

Fix fatal error on export.php