From 29337d79d15af963b6d8717060ecfeacaa1e9310 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 13 Aug 2018 11:53:41 +0200 Subject: [PATCH] Show lavatar text in caps --- api/src/avatar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/avatar.php b/api/src/avatar.php index 4238ddbd2a..b479c54a29 100644 --- a/api/src/avatar.php +++ b/api/src/avatar.php @@ -80,7 +80,7 @@ class avatar $bgcolor = $_color ? $_color : self::_getBgColor($firstname.$lastname.$id); // Letters to be shown - $text = $firstname[0].$lastname[0]; + $text = strtoupper($firstname[0].$lastname[0]); //create an image $image = imagecreatetruecolor($_size, $_size);