diff --git a/plugins/admin/systems/class_goSpamServer.inc b/plugins/admin/systems/class_goSpamServer.inc
index 329522fa74097934aa56de03433b2e1ecdb49ba5..e62bb401be229d9575c75890ed13e2342fb01ca9 100644 (file)
<?php
-require_once("class_goService.inc");
-
class gospamserver extends goService{
/* CLI vars */
var $saFlagsD = false;
var $saFlagsP = false;
- var $dialog = NULL;
var $ui = NULL;
var $acl = NULL;
var $view_logged =FALSE;
- function gospamserver($config,$dn, $parent= NULL)
+ function gospamserver(&$config,$dn, $parent= NULL)
{
/* Init class */
goService::goService($config,$dn, $parent);
/* Cancel adding/editing specified rule */
if(isset($_POST['CancelRule'])){
- $this->dialog = NULL;
+ $this->dialog = FALSE;
}
/* Handle post to delete rules */
unset($this->Rules[$ret['orig_name']]);
}
$this->Rules[$ret['name']] = $ret['rule'];
- $this->dialog = NULL;
+ $this->dialog = FALSE;
}
}