Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14487

Print Page (PDF) Formats - fix notices

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: Core CiviCRM

      Description

      Add a new PDF format from setting http://civicrm45/civicrm/admin/pdfFormats?reset=1&action=browse

      After saving, these notices are displayed on the browse page:

      • Notice: Undefined index: orientation in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /Users/dgg/git/crm_v4.5/CRM/Core/BAO/PdfFormat.php).
      • Notice: Undefined index: metric in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /Users/dgg/git/crm_v4.5/CRM/Core/BAO/PdfFormat.php).
      • Notice: Undefined index: margin_top in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /Users/dgg/git/crm_v4.5/CRM/Core/BAO/PdfFormat.php).
      • Notice: Undefined index: margin_bottom in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /Users/dgg/git/crm_v4.5/CRM/Core/BAO/PdfFormat.php).
      • Notice: Undefined index: margin_left in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /Users/dgg/git/crm_v4.5/CRM/Core/BAO/PdfFormat.php).
      • Notice: Undefined index: margin_right in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /Users/dgg/git/crm_v4.5/CRM/Core/BAO/PdfFormat.php).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dgg David Greenberg
                Reporter:
                dgg David Greenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: