CoreFiles by mySites.guru
color.php24 lines, 416 bytes, from Joomla_3.9.13-Stable-Full_Package.zip
Raw History Compare with 3.9.12
md5
30d8c2ffd99220336b2e5741a1cbb923
sha1
87206cbe763707fb74991c4f6bd2343684573431
sha256
a55e3ec7db57482b7a00a902030d3d195057d68fbf26c474fa8670599d352c74
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Color
 *
 * @copyright   Copyright (C) 2005 - 2019 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 32 releases, Joomla 3.9.2-rc to 4.0.0-alpha12. See them all, or every version of this file.