CoreFiles by mySites.guru
text.php24 lines, 415 bytes, from Joomla_3.9.21-Stable-Full_Package.zip
Raw History Compare with 3.9.20
md5
fe291e61dd0816fc3b4f7d3bb9fad130
sha1
6913bfd470205a717deab11f485448c61ea19348
sha256
3fa551ada069fda10fcc18611ea243438999dfbb3dbbf7cdc0901938cd537bd9
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Text
 *
 * @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.