From: hickert Date: Fri, 14 May 2010 07:02:38 +0000 (+0000) Subject: added migration classes for RDN properties X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=06262f1aabdd022c8efc406c9f76106fd468bfe5;p=gosa.git added migration classes for RDN properties git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18408 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc b/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc index ce3d1a859..50ace9679 100644 --- a/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc +++ b/gosa-core/plugins/addons/configViewer/migration/class_migrateRDN.inc @@ -107,19 +107,19 @@ class migrateRDN implements propertyMigration $str.= "

"._("Objects that will be moved")."

"; $str.="
";
             foreach($this->found['move'] as $id => $data){
-                $checked = (!isset($_POST['migrateNow'])) ? 'checked':'';
+                $checked = (!isset($_POST["migrateNow".get_class($this)])) ? 'checked':'';
                 $str.= "";
                 $str.= sprintf(_("Moving object '%s' to '%s'"), $data['from'], $data['to'])."
"; } $str.="
"; } - $str.= ""; + $str.= ""; return($str); } function save_object() { - if(isset($_POST['migrateNow'])){ + if(isset($_POST["migrateNow".get_class($this)])){ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']);