mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 20:51:19 +01:00
BC fix
This commit is contained in:
parent
901422353b
commit
5fc3f54ed0
@ -324,11 +324,6 @@ abstract class Serialization
|
||||
$tounserialize = \str_replace('C:25:"phpseclib\\Math\\BigInteger"', 'C:26:"phpseclib3\\Math\\BigInteger"', $tounserialize);
|
||||
$changed = true;
|
||||
}
|
||||
if (\strpos($tounserialize, 'C:24:"tgseclib\\Math\\BigInteger"') !== false) {
|
||||
Logger::log("SUBBING TGSECLIB!");
|
||||
$tounserialize = \str_replace('C:24:"tgseclib\\Math\\BigInteger"', 'C:26:"phpseclib3\\Math\\BigInteger"', $tounserialize);
|
||||
$changed = true;
|
||||
}
|
||||
Logger::log((string) $e, Logger::ERROR);
|
||||
if (!$changed) {
|
||||
throw $e;
|
||||
|
Loading…
x
Reference in New Issue
Block a user