Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / manufacturing / includes / work_order_issue_ui.inc
index dad39a9ce849605776ddc38efe3ebd2bc2ad7a07..5924f2ccdd20a65424dc18d24bdb4f6e1f080aa2 100644 (file)
@@ -145,9 +145,11 @@ function issue_edit_item_controls(&$order, $line_no=-1)
 
 function issue_options_controls()
 {
+       global $Refs;
+
        echo "<br>";
        start_table();
-    ref_row(_("Reference:"), 'ref', '', references::get_next(28));
+    ref_row(_("Reference:"), 'ref', '', $Refs->get_next(28));
  
        if (!isset($_POST['IssueType']))
                $_POST['IssueType'] = 0;