Hi there,
Has anybody come across this problem before? I am having to decode some special characters in custom fields to make them display correctly but it shouldnt really be necessary because my database entries are all encoded properly. How can i avoid having to do this everytime I create an override? Anyone know?
My system info
Has anybody come across this problem before? I am having to decode some special characters in custom fields to make them display correctly but it shouldnt really be necessary because my database entries are all encoded properly. How can i avoid having to do this everytime I create an override? Anyone know?
Code:
<?php if (isset($this->item->jcfields[149]) && !empty(trim($this->item->jcfields[149]->value))) : ?> <?php $regionLink = Route::_(ContentHelperRoute::getCategoryRoute($this->item->catid)); ?> <span class="region"> , <a href="<?php echo $regionLink; ?>"><?php echo htmlspecialchars($this->item->jcfields[149]->value, ENT_QUOTES, 'UTF-8'); ?></a> </span> <?php endif; ?>
- PHP Built OnLinux dedi2762.your-server.de 5.10.0-29-amd64 #1 SMP Debian 5.10.216-1 (2024-05-03) x86_64
Database Typemysql
Database Version10.5.23-MariaDB-0+deb11u1
Database Collationutf8mb4_unicode_ci
Database Connection Collationutf8mb4_general_ci
Database Connection EncryptionNone
Database Server Supports Connection EncryptionYes
PHP Version8.1.29
Web ServerApache
WebServer to PHP Interfacecgi-fcgi
Joomla! VersionJoomla! 5.1.0 Stable [ Kudumisha ] 16-April-2024 16:00 GMT
Joomla Backward Compatibility PluginEnabled ()
User AgentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Statistics: Posted by DV-admin — Tue Jun 25, 2024 12:46 pm