Code

Removed {default} checks from plugin
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Dec 2007 10:44:33 +0000 (10:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Dec 2007 10:44:33 +0000 (10:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8077 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index ff6786f10ec0bf8c75e7bdd14902bb384f012f99..7b7910445863afe5bc85de3bb60d07c1fea0355a 100644 (file)
@@ -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;
       }
     }
   }