Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / reporting / includes / doctext.inc
index be391fde7392bb3905c77ca602327c691b11f678..439d7b8f0e11f44297aea5b74774ec5310b6d92c 100644 (file)
@@ -14,6 +14,8 @@
 *      Set document type dependent elements of common page layout.
 *
 */
+       global $SysPrefs;
+
        $Addr1 = array(
                        'title' => _("Charge To"),
                        'name' => @$this->formData['br_name'] ? $this->formData['br_name'] : @$this->formData['DebtorName'],