1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 20:51:19 +01:00
This commit is contained in:
Daniil Gentili 2021-12-09 12:02:18 +01:00
parent 901422353b
commit 5fc3f54ed0

View File

@ -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;