Jethro - 2012-04-05 18:10:26 -
In reply to message 2 from Brian
You're welcome.
And while I'm looking at the code I noticed 2 more small things:
Line 22:
if ($this->members[$d]) $this->members[$d]->addTerm($t);
'PHP Notice: Undefined offset'
I changed it to:
if (isset($this->members[$d])) $this->members[$d]->addTerm($t);
And line 31 I changed to:
if (!$d) $d = $cd;