Code

Return old attr, not new
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Oct 2009 07:35:38 +0000 (07:35 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Oct 2009 07:35:38 +0000 (07:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14532 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc

index 48bf1b87130c5f83763b4f82ae0f0cff25651520..28e5a7fc8ed3f03f87043554f0376f4e7b0e0a30 100644 (file)
@@ -2926,7 +2926,7 @@ function get_next_id_pool($attrib) {
       msg_dialog::display(_("Error"), _("Cannot allocate a free ID:")." ".$ldap->get_error(), ERROR_DIALOG);
       return null;
     } else {
-      return $newAttr;
+      return $oldAttr;
     }
   }