Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_glpiAttachmentPool.inc
index 7d7c13d7dda8ed775512b45f4951e9d5a17ca3cd..b500660298b80ad14dd2502dd6a4c055b6624e63 100644 (file)
@@ -25,7 +25,7 @@ class glpiAttachmentPool extends plugin
 
   var $delAttach= "";
 
-  function glpiAttachmentPool ($config, $dn= NULL,$used=NULL)
+  function glpiAttachmentPool (&$config, $dn= NULL,$used=NULL)
   {
     plugin::plugin ($config, $dn);
     if(!isset($_SESSION['GlpiAttachmentFilter'])){
@@ -33,7 +33,7 @@ class glpiAttachmentPool extends plugin
     }
 
     /* Assign used attributes */
-    if($used != NULL){
+    if($used !== NULL){
       $this->Selected = $used;
     }
   }