CoreFiles by mySites.guru
color.php24 lines, 416 bytes, from Joomla_3.9.21-Stable-Full_Package.zip
Raw History Compare with 3.9.20
md5
428d844e34de3dbd9a52f4011479b25f
sha1
737ad646a0c74d3d5193d14bf6a53cb29456c816
sha256
83507e3eed089a4ba813bb35f4b0aad3ec08959932ade11246acf7249f785c55
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Color
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$value = $field->value;

if ($value == '')
{
	return;
}

if (is_array($value))
{
	$value = implode(', ', $value);
}

echo htmlentities($value);

The same content is in 35 releases, Joomla 3.9.15-rc to 4.0.0-beta5. See them all, or every version of this file.