CoreFiles by mySites.guru
text.php24 lines, 415 bytes, from Joomla_3.7.2-Stable-Full_Package.zip
Raw History Compare with 3.7.1
md5
72d5bc65cb02a031e8717c78d2edebee
sha1
2c6400a151f6369ba2504beeb2f07bdc7a6f6c8f
sha256
56406fb8e8684bfb08f508fa27ed3bbb7b8a1de464410c9db580c27ecbf5363c
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Fields.Text
 *
 * @copyright   Copyright (C) 2005 - 2017 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.7.0-alpha2 to 4.0.0-alpha2. See them all, or every version of this file.