Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / reporting / rep301.php
index dede52077f64ff7032ed17bf5299d0b8ca41919a..d476ec9a98cd2f3e568a27f763501c4cb9db2ccc 100644 (file)
@@ -79,14 +79,14 @@ function print_inventory_valuation_report()
 
     $dec = user_price_dec();
 
-       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');