X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Freferences.inc;h=7a919f27d43720094bf9ac746d90d74ad9e9ed46;hb=40a86b30aa459c05925c41d55bbeff2c293a7ce5;hp=a5e872d703e0dcee08afefff37dae24e039c29c0;hpb=19dce8c7be29e4cc8e7be92d044259348373d456;p=fa-stable.git diff --git a/includes/references.inc b/includes/references.inc index a5e872d7..7a919f27 100644 --- a/includes/references.inc +++ b/includes/references.inc @@ -10,6 +10,7 @@ See the License here . ***********************************************************************/ include_once($path_to_root . "/includes/db/class.reflines_db.inc"); +include_once($path_to_root . "/includes/types.inc"); //--------------------------------------------------------------------------------------------- // 2.4 - further changes toward removing refs table introduced: // . all transactions now have references stored in trans table. @@ -69,7 +70,7 @@ class references { var $reflines; - function references() + function __construct() { $this->reflines = new reflines_db(); } @@ -150,6 +151,7 @@ class references } } + $out .= $template; // add postfix if (!preg_match('/^([^\{]*)?\{([^\}]*)\}(.*)/', $out, $match)) { // parse index display_error(_("Missing numeric placeholder in refline definition.")); return $out;