Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / reporting / rep303.php
index 85bb02d8cec888c0d516017ad55ee994dc617701..2ac79f8d739f2e2e0c012fab2f95edfe1e608368 100644 (file)
@@ -75,14 +75,14 @@ function print_stock_check()
        else
                include_once($path_to_root . "/reporting/includes/pdf_report.inc");
 
-       if ($category == reserved_words::get_all_numeric())
+       if ($category == ALL_NUMERIC)
                $category = 0;
        if ($category == 0)
                $cat = _('All');
        else
                $cat = get_category_name($category);
 
-       if ($location == reserved_words::get_all())
+       if ($location == ALL_TEXT)
                $location = 'all';
        if ($location == 'all')
                $loc = _('All');