Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / reporting / rep302.php
index 1678b2ab5b4b94491269aebb61e57fde3183d506..611e214b0aa98da3779a6c4c5aa405504ba8ecf7 100644 (file)
@@ -97,14 +97,14 @@ function print_inventory_planning()
        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');