Browse code

pdf: fixed errorenous json api call

Kevin Lin authored on 2015/04/15 05:02:37
Showing 1 changed files
... ...
@@ -3717,7 +3717,7 @@ static void pdf_export_json(struct pdf_struct *pdf)
3717 3717
             cli_jsonbool(pdfobj, "Keywords_base64", 1);
3718 3718
             free(b64);
3719 3719
         } else {
3720
-            cli_jsonbool(pdfobj, "Keywords", "");
3720
+            cli_jsonstr(pdfobj, "Keywords", "");
3721 3721
         }
3722 3722
     }
3723 3723
     if (pdf->stats.ninvalidobjs)