mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-26 18:10:11 +00:00
Replace Factory::getConfig()->get with Factory::getApplication()->get
This commit is contained in:
parent
226e81f7ab
commit
30c155797f
@ -15,7 +15,7 @@ use Joomla\CMS\String\PunycodeHelper;
|
||||
$weblinkUrl = PunycodeHelper::urlToUTF8($this->item->url);
|
||||
?>
|
||||
<div class="item-page">
|
||||
<meta itemprop="inLanguage" content="<?php echo ($this->item->language === '*') ? Factory::getConfig()->get('language') : $this->item->language; ?>" />
|
||||
<meta itemprop="inLanguage" content="<?php echo ($this->item->language === '*') ? Factory::getApplication()->get('language') : $this->item->language; ?>" />
|
||||
<div class="page-header">
|
||||
<h2 itemprop="headline">
|
||||
<?php echo $this->escape($this->item->title); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user