Commit 9577d903 authored by Côme Chilliet's avatar Côme Chilliet Committed by Mortier Benoit
Browse files

Fixes #4998 serverService still contained a call to old contructor

Showing with 1 addition and 1 deletion
+1 -1
...@@ -187,7 +187,7 @@ class ServerService extends management ...@@ -187,7 +187,7 @@ class ServerService extends management
protected function cancelEdit() protected function cancelEdit()
{ {
if ($this->backup == NULL && $this->current) { if ($this->backup == NULL && $this->current) {
$this->plugins[$this->current] = new $this->current(NULL, $this->dn, $this); $this->plugins[$this->current] = new $this->current($this->dn, $this);
$this->plugins[$this->current]->set_acl_base($this->acl_base); $this->plugins[$this->current]->set_acl_base($this->acl_base);
$this->plugins[$this->current]->set_acl_category(preg_replace("/\/$/", "", $this->acl_category)); $this->plugins[$this->current]->set_acl_category(preg_replace("/\/$/", "", $this->acl_category));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment