mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Merge remote-tracking branch 'origin/support/3.2' into develop
This commit is contained in:
@@ -454,10 +454,7 @@ JS;
|
||||
protected function ComputeUserData()
|
||||
{
|
||||
// Use a picture set in the preferences is there is none in the user's contact
|
||||
$sPictureUrl = UserRights::GetUserPictureAbsUrl('', false);
|
||||
if (empty($sPictureUrl)) {
|
||||
$sPictureUrl = utils::GetAbsoluteUrlAppRoot().'images/user-pictures/'.appUserPreferences::GetPref('user_picture_placeholder', 'user-profile-default-256px.png');
|
||||
}
|
||||
$sPictureUrl = UserRights::GetUserPictureAbsUrl();
|
||||
|
||||
// TODO 3.0.0 : what do we show if no contact is linked to the user ?
|
||||
$aData = [
|
||||
|
||||
@@ -64,6 +64,9 @@ class iTopComposer extends AbstractFolderAnalyzer
|
||||
|
||||
'psr/log/Psr/Log/Test',
|
||||
|
||||
'soundasleep/html2text/.github',
|
||||
'soundasleep/html2text/tests',
|
||||
|
||||
'symfony/cache/Tests',
|
||||
'symfony/cache/Tests/DoctrineProviderTest.php',
|
||||
'symfony/class-loader/Tests',
|
||||
|
||||
@@ -53,7 +53,7 @@ class MultipleChoicesValidator extends AbstractValidator
|
||||
private function CheckValueAgainstChoices(string $sValue, array &$aErrorMessages): void
|
||||
{
|
||||
if (false === array_key_exists($sValue, $this->aChoices)) {
|
||||
$aErrorMessages[] = "Value ({$sValue}) is not part of the field possible values list";
|
||||
$aErrorMessages[] = "Value ({$sValue}) is not part of the field possible values list";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user