Update 2024-09-03 00:08:52

This commit is contained in:
Robot 2024-09-03 00:08:38 +02:00
parent 9ca083305b
commit a62938ca20
Signed by untrusted user: Robot
GPG Key ID: 14DECD44E7E1BB95
4 changed files with 15 additions and 14 deletions

View File

@ -350,15 +350,14 @@ final class UsersSubform implements GuidInterface, SubformInterface
$item[$indexKey] = 0;
}
break;
case 'user_id':
$item[$indexKey] = $this->setUserDetails($item);
break;
default:
// No action for other keys if empty
break;
}
// set LINK
$item[$linkKey] = $linkValue;
// create/update user
$item['user_id'] = $this->setUserDetails($item);
}
return array_values($items);

View File

@ -321,15 +321,14 @@
$item[$indexKey] = 0;
}
break;
case 'user_id':
$item[$indexKey] = $this->setUserDetails($item);
break;
default:
// No action for other keys if empty
break;
}
// set LINK
$item[$linkKey] = $linkValue;
// create/update user
$item['user_id'] = $this->setUserDetails($item);
}
return array_values($items);

View File

@ -18,6 +18,8 @@ use Joomla\CMS\User\User;
use Joomla\CMS\User\UserHelper as JoomlaUserHelper;
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
use VDM\Joomla\Utilities\Component\Helper as Component;
use VDM\Joomla\Utilities\ArrayHelper;
use VDM\Joomla\Utilities\StringHelper;
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;

View File

@ -4,14 +4,7 @@
"extends": "",
"guid": "7832a726-87b6-4e95-887e-7b725d3fab8f",
"implements": null,
"load_selection": {
"load_selection0": {
"load": "0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a"
},
"load_selection1": {
"load": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef"
}
},
"load_selection": null,
"name": "UserHelper",
"power_version": "1.0.0",
"system_name": "Joomla.Utilities.UserHelper",
@ -20,6 +13,14 @@
"use_selection0": {
"use": "640b5352-fb09-425f-a26e-cd44eda03f15",
"as": "Component"
},
"use_selection1": {
"use": "0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a",
"as": "default"
},
"use_selection2": {
"use": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef",
"as": "default"
}
},
"extendsinterfaces": null,