--- nfo/php/libs/org.netfrag.flib/Tracker/User.php 2002/12/06 04:10:28 1.4 +++ nfo/php/libs/org.netfrag.flib/Tracker/User.php 2002/12/12 21:34:32 1.5 @@ -1,8 +1,11 @@ data); $this->pObject->save($this->data, $type); - $this->meta[data_ready] = 0; + // invalidate data only if it's not for caching purposes + if ($type != 'cache') { + $this->meta[data_ready] = 0; + } } function save() { @@ -197,9 +204,10 @@ } - function update(&$uservars) { - $this->setPostVars($uservars); - $data = $this->_transformInputData($uservars); + function update($vars) { + $this->setPostVars($vars); +//print Dumper($vars); + $data = $this->_transformInputData($vars); $this->_saveData($data); }