فهرست منبع

Fix bug in add nested group (UserStorageDB)

Piotr Labudda 11 سال پیش
والد
کامیت
5a43881df4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      SE/se-lib/UserStorageDB.php

+ 1 - 1
SE/se-lib/UserStorageDB.php

@@ -256,7 +256,7 @@ class UserStorageDB extends UserStorageBase {
 	public function addNestedGroup($groupID, $nestedGroupID) {
 		if (!$this->_db) return null;
 		if ($groupID <= 0) return null;
-		if ($nestedGroupID) return null;
+		if ($nestedGroupID <= 0) return null;
 		return $this->_setGroupConnection($groupID, $nestedGroupID);
 	}