From: hickert Date: Tue, 11 Dec 2007 10:44:33 +0000 (+0000) Subject: Removed {default} checks from plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=766885baa21f16974117bd2b56b88ab9812f397a;p=gosa.git Removed {default} checks from plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8077 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index ff6786f10..7b7910445 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -1754,7 +1754,7 @@ class plugin } else { $data= $this->$val = $_POST["$val"]; } - if ($this->$val != $data && $data != "{default}"){ + if ($this->$val != $data){ $this->is_modified= TRUE; } @@ -1762,9 +1762,7 @@ class plugin if(isset($data[0]) && $data[0] == chr(194)) { $data = ""; } - if($data != "{default}"){ - $this->$val= $data; - } + $this->$val= $data; } } }