Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable28] fix(mail): Fix big logos in mail templates for Outlook #46628

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

nickvergessen
Copy link
Member

Backport of PR #46419

Signed-off-by: Joas Schilling <coding@schilljs.com>
$content = file_get_contents($tmpFile);
$newImage = @imagecreatefromstring($content);
if ($newImage !== false) {
$this->config->setAppValue('theming', 'logoDimensions', imagesx($newImage) . 'x' . imagesy($newImage));

Check notice

Code scanning / Psalm

PossiblyFalseOperand Note

Cannot concatenate with a possibly false false|int
$content = file_get_contents($tmpFile);
$newImage = @imagecreatefromstring($content);
if ($newImage !== false) {
$this->config->setAppValue('theming', 'logoDimensions', imagesx($newImage) . 'x' . imagesy($newImage));

Check notice

Code scanning / Psalm

PossiblyFalseOperand Note

Cannot concatenate with a possibly false false|int
@nickvergessen nickvergessen merged commit 03a08e3 into stable28 Jul 22, 2024
54 checks passed
@nickvergessen nickvergessen deleted the backport/46419/stable28 branch July 22, 2024 07:00
@Altahrim Altahrim mentioned this pull request Aug 8, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants