|
|
@@ -373,11 +373,11 @@ class DeclarationUpgradeForm extends Model
|
|
|
$this->loopFindParentToNetwork($this->insertUserName);
|
|
|
//反转数组,in_array搜索错误
|
|
|
//in_array($this->decUserName, $this->_tempNetworkParentUser[$this->insertUserName]);
|
|
|
- $flipParent = array_flip(array_filter($this->_tempNetworkParentUser[$this->insertUserName]));
|
|
|
- if (!isset($flipParent[$this->decUserName])) {
|
|
|
- $this->addError($attribute, '为' . $this->insertUserName . '升级报单,报单中心' . $this->decUserName . '不在' . $this->insertUserName . '的安置网上级中');
|
|
|
- return ;
|
|
|
- }
|
|
|
+// $flipParent = array_flip(array_filter($this->_tempNetworkParentUser[$this->insertUserName]));
|
|
|
+// if (!isset($flipParent[$this->decUserName])) {
|
|
|
+// $this->addError($attribute, '为' . $this->insertUserName . '升级报单,报单中心' . $this->decUserName . '不在' . $this->insertUserName . '的安置网上级中');
|
|
|
+// return ;
|
|
|
+// }
|
|
|
$this->_decId = $decUser['ID'];
|
|
|
}
|
|
|
}
|