File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
33 * This file is part of FacturaScripts
4- * Copyright (C) 2022 Carlos Garcia Gomez <carlos@facturascripts.com>
4+ * Copyright (C) 2022-2025 Carlos Garcia Gomez <carlos@facturascripts.com>
55 *
66 * This program is free software: you can redistribute it and/or modify
77 * it under the terms of the GNU Lesser General Public License as
2222/**
2323 * Description of GravatarTrait
2424 *
25- * @author Carlos García Gómez <carlos@facturascripts.com>
25+ * @author Carlos García Gómez <carlos@facturascripts.com>
2626 * @author Daniel Fernández Giménez <hola@danielfg.es>
2727 */
2828trait GravatarTrait
@@ -33,6 +33,6 @@ trait GravatarTrait
3333 public function gravatar (int $ size = 80 ): string
3434 {
3535 return empty ($ this ->email ) ? '' :
36- 'https://www.gravatar.com/avatar/ ' . md5 (strtolower (trim ($ this ->email ))) . '?s= ' . $ size ;
36+ 'https://www.gravatar.com/avatar/ ' . md5 (strtolower (trim ($ this ->email ))) . '?s= ' . $ size . ' &d=mp ' ;
3737 }
3838}
You can’t perform that action at this time.
0 commit comments