CoreFiles by mySites.guru
text.php23 lines, 409 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
15018e85a53478e563d841bd16b1a99d
sha1
be242ea14fe9f47efc1951204d0d982bce7f925d
sha256
7301988ead3aeb2573da9d1a68a0fea7bbb224028cbf86bc3089f7c1813d4088
<?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 230 releases, Joomla 4.2.0-beta3 to 6.2.1-rc1. See them all, or every version of this file.