Improved layout on documents etc and new empty language file.
[fa-stable.git] / reporting / rep409.php
index 07e76f38486a8bf5bd5e2b90290931c0207923a8..bf6bb3d466fe0b75ac78b170a37df1718a8477bd 100644 (file)
@@ -131,7 +131,7 @@ function print_workorders()
                $rep->NewLine(1);
                $rep->TextCol(0, 5," *** = "._("Insufficient stock"), -2);
 
-               $comments = get_comments(26, $i);
+               $comments = get_comments(ST_WORKORDER, $i);
                if ($comments && db_num_rows($comments))
                {
                        $rep->NewLine();