Trying to get property of non-object
Posted: Tue Feb 14, 2012 2:14 pm
Hello, I am new here so please forgive if I am posting in the wrong thread.
Anyway, I am dedicated to have my osCommerce error free. I have been working alone for quite some time on this.
One of my last errors is this: Trying to get property of non-object. The offending line is:
if ($GLOBALS[$module]->tax_class > 0) {
I have tried things like if isset(($GLOBALS[$module]->tax_class > 0)) {
And never fixed it. How should it be?
Kind regards from Sweden
Sara

Anyway, I am dedicated to have my osCommerce error free. I have been working alone for quite some time on this.
One of my last errors is this: Trying to get property of non-object. The offending line is:
if ($GLOBALS[$module]->tax_class > 0) {
I have tried things like if isset(($GLOBALS[$module]->tax_class > 0)) {
And never fixed it. How should it be?
Kind regards from Sweden
Sara