Skip to content

Commit

Permalink
4系改修の5系移行 fix baserproject#2017
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Apr 3, 2023
1 parent fd4d4d4 commit 179b53f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/baser-core/src/Utility/BcUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,10 @@ public static function unserialize($value)
$value = @unserialize(base64_decode($value));
// 下位互換のため、しばらくの間、失敗した場合の再変換を行う v.3.0.2
if ($value === false) {
$value = unserialize($_value);
$value = @unserialize($_value);
if($value === false) {
return '';
}
}
return $value;
}
Expand Down

0 comments on commit 179b53f

Please sign in to comment.