Signed-off-by: Stéphane Jacob <sj@m4x.org>
- #1318: Fixes PHP errors in PayPal payments -JAC
* Profile:
+ - #1270: Adapts default picture to main education -JAC
- #1340: Allows secretaries and admin to fully edit profiles' name -JAC
- #1354: Do not notify death to a deceased user -JAC
- #1356: Indicates delivery issues on addresses -JAC
}
return $this->photo;
} else if ($fallback) {
- return PlImage::fromFile(dirname(__FILE__).'/../htdocs/images/none.png',
- 'image/png');
+ if ($this->mainEducation() == 'X') {
+ return PlImage::fromFile(dirname(__FILE__) . '/../htdocs/images/none_x.png', 'image/png');
+ }
+ return PlImage::fromFile(dirname(__FILE__) . '/../htdocs/images/none_md.png', 'image/png');
}
return null;
}