XenForo
Administrative
- Thread starter
- Admin
- #1
While the entity validates the permission name,
PHP:
While this would most likely occur when importing potentially hand editor .json files, it would be nice if it gave a nicer error than;
Code:
or php 8+...
Read more
ادامه مطلب...
getEntityForImport
does not validate the name is in the expected format (ie contains a -
character);PHP:
Code:
protected function getEntityForImport($name, $addOnId, $json, array $options)
{
list($groupId, $permissionId) = explode('-', $name);
While this would most likely occur when importing potentially hand editor .json files, it would be nice if it gave a nicer error than;
Code:
Notice: Undefined offset: 1 ...
or php 8+...
Read more
ادامه مطلب...