Compare commits

..

1 Commits

Author SHA1 Message Date
Pavel Shevaev f7fed18f4c Trying to fix regression related to CRCd class id
Publish PHP Package / docker (push) Successful in 6s Details
2025-05-20 14:49:34 +03:00
1 changed files with 2 additions and 2 deletions

View File

@ -28,10 +28,10 @@ class mtgMetaStruct extends mtgUserType
if(is_null($this->crc_class_id))
{
if($this->scope != null)
if($this->scope != null && !($this->scope instanceof mtgMetaParsedModule))
$this->crc_class_id = crc32($this->getFullName());
else
//TODO: migrate to crc32 from crc28
//TODO: stop using crc28, use crc32
$this->crc_class_id = crc32($this->name) & 0xFFFFFFF;
}