Fixed show tables bug in database.class.php