|
@@ -22,7 +22,7 @@ class TalentApi {
|
|
|
*/
|
|
|
public static function checkIsEditable($id) {
|
|
|
$info = Talent::findOrEmpty($id)->toArray();
|
|
|
- if (!$info || $info["delete"] == 1 || !in_array($info["checkState"], [0, TalentState::FST_SAVE, TalentState::BASE_REVERIFY_PASS, TalentState::SCND_SAVE]))
|
|
|
+ if ($info["delete"] == 1 || !in_array($info["checkState"], [0, TalentState::FST_SAVE, TalentState::BASE_REVERIFY_PASS, TalentState::SCND_SAVE]))
|
|
|
return false;
|
|
|
return true;
|
|
|
}
|