From 766885baa21f16974117bd2b56b88ab9812f397a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 Dec 2007 10:44:33 +0000 Subject: [PATCH] Removed {default} checks from plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8077 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; } } } -- 2.30.2