|
|
@@ -41,7 +41,7 @@ class ItemMsController extends BaseController
|
|
|
$hasIds = explode(',', $hasIdString);
|
|
|
}
|
|
|
foreach ($ids as $current) {
|
|
|
- if (in_array($current, $hasIds) == false) {
|
|
|
+ if (in_array($current, $hasIds) == false && $current != $motherId) {
|
|
|
$hasIds[] = $current;
|
|
|
}
|
|
|
}
|