X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Freferences.inc;h=786ce62b215f84f8ccfdc63f66198ea3d30fa41b;hb=05ba2d82d4230a8ea991920515cdc2377fcacfd0;hp=260c7a769664407f2123fbc2d52ca647e0f86b18;hpb=2383d33373d6ddec06906658a0ed6398077c1147;p=fa-stable.git diff --git a/includes/references.inc b/includes/references.inc index 260c7a76..786ce62b 100644 --- a/includes/references.inc +++ b/includes/references.inc @@ -18,7 +18,7 @@ class references { add_reference($type, $id, $reference); if ($reference != 'auto') - references::save_last($reference, $type); + $this->save_last($reference, $type); } function get($type, $id) @@ -38,7 +38,7 @@ class references function save_last($reference, $type) { - $next = references::increment($reference); + $next = $this->increment($reference); save_next_reference($type, $next); }