Trying to fix regression related to CRCd class id
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
3718958480
commit
f7fed18f4c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue