diff --git a/plugins/admin/systems/class_goShareServer.inc b/plugins/admin/systems/class_goShareServer.inc
index d12c5a07b8222160c397e28a7648cf885d4c83e7..6b7f39aa382c514633f11ddc96f9bfc75fe96d00 100644 (file)
$ldap->cd($mountsdn);
$ldap->add($mounts);
show_ldap_error($ldap->get_error(), sprintf(_("Creating system server/shares (mount container) with dn '%s' failed."),$this->dn));
- new log("modify","server/".get_class($this),$mountdn,array_keys($mount),$ldap->get_error());
+ new log("modify","server/".get_class($this),$mountsdn,array_keys($mounts),$ldap->get_error());
}
# remove deleted mounts from the container
}
+ function PrepareForCopyPaste($source)
+ {
+ plugin::PrepareForCopyPaste($source);
+
+ $tmp =array();
+ if(isset($source['goExportEntry'])){
+ if(isset($source['goExportEntry']['count'])){
+ for($i= 0; $i<$source['goExportEntry']['count']; $i++){
+ $entry= $source['goExportEntry'][$i];
+ $tmp[preg_replace('/\|.*$/', '', $entry)]= $entry;
+ }
+ }
+ }
+ $this->goExportEntryList = $tmp;
+ $this->goExportEntry = $tmp;
+ }
+
+
/* Return plugin informations for acl handling */
function plInfo()
{