X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fwebcolor.php;h=6fa603fa2ac89286b47e2b00924808be40577f4f;hb=9498a164805892a8af17311f7e7697b132524990;hp=aaf31d990363921d3036a3878cd683fcd200557a;hpb=e7e3709ae0294b8400b85d87f2ebeade5b31858d;p=quix0rs-gnu-social.git diff --git a/lib/webcolor.php b/lib/webcolor.php index aaf31d9903..6fa603fa2a 100644 --- a/lib/webcolor.php +++ b/lib/webcolor.php @@ -1,6 +1,6 @@ . * * @category Personal - * @package Laconica - * @author Zach Copley - * @copyright 2009 Control Yourself, Inc. + * @package StatusNet + * @author Zach Copley + * @copyright 2009 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://laconi.ca/ + * @link http://status.net/ */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -164,7 +164,7 @@ class WebColor { $hexcolor .= (strlen(dechex($this->blue)) < 2 ? '0' : '') . dechex($this->blue); - return $hexcolor; + return strtoupper($hexcolor); }