CoreFiles by mySites.guru
text.php24 lines, 402 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
d66884533b337b358c3edcae75310bb7
sha1
dc399295b40f8825b7e81f932ce07566752c0182
sha256
24ec8f813e577e76430e09db183e80e3ef9e64ed834a700c8dab0e7df40cb696
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Text
 *
 * @copyright   (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
 * @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 76 releases, Joomla 3.10.0-alpha2 to 4.2.0-beta2. See them all, or every version of this file.