* @return true if all is ok
*/
function write_procmailrc(&$procmail, $filename) {
- $file = $philter->config['path']['spool']."/".$filename;
+ $file = $this->config['path']['spool']."/".$filename;
$f = fopen($file.".tmp", "w");
fwrite($f, $procmail, strlen($procmail));
fclose($f);