Commit 4005a11a authored by Nemo Ma's avatar Nemo Ma

Update elementmix.calc.php

parent 327bebd1
......@@ -571,7 +571,7 @@
# Trial Fix #2 - If array_search would result in a false, we skip the unset process.
//Let's see what happens:
$delsub = $minfo['stuff'];
if(array_search($delsub, $subtags)!= false){
if(array_search($delsub, $subtags)!== false){
# 配对成功!消除素材特征
foreach($minfo['stuff'] as $delsub) unset($subtags[array_search($delsub,$subtags)]);}
# 将组合结果加入属性队列
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment