summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-07 15:53:38 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-07 15:53:38 +0100
commit1368dfded40e5a774a73e2256e214bcaf4e74866 (patch)
tree745e9b9e7c60d05889f1876c30e44dc97d6a38c0 /src
parent34466763154ee900200e96b7d753c455a2c3414e (diff)
AnnotationText is (I believe) optional.
Diffstat (limited to 'src')
-rw-r--r--src/pkl_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkl_file.cc b/src/pkl_file.cc
index 21763f27..6dfb627c 100644
--- a/src/pkl_file.cc
+++ b/src/pkl_file.cc
@@ -32,7 +32,7 @@ PKLFile::PKLFile (string file)
: XMLFile (file, "PackingList")
{
id = string_child ("Id");
- annotation_text = string_child ("AnnotationText");
+ annotation_text = optional_string_child ("AnnotationText");
issue_date = string_child ("IssueDate");
issuer = string_child ("Issuer");
creator = string_child ("Creator");