1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-22 14:50:36 +03:00

fix entry_is_group var using is_user()

This commit is contained in:
Dmitry Degtyarev 2020-06-09 16:29:27 +04:00
parent ea7f52dc77
commit 1b02439b7e

View File

@ -301,7 +301,7 @@ void AdInterface::move(const QString &dn, const QString &new_container) {
const QByteArray new_container_array = new_container.toLatin1();
const char *new_container_cstr = new_container_array.constData();
const bool entry_is_group = is_user(dn);
const bool entry_is_group = is_group(dn);
const bool entry_is_user = is_user(dn);
if (!entry_is_user && !entry_is_group) {