mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
fixes #2140 PHP 8 issues
This commit is contained in:
parent
75392e6886
commit
3af5594993
2 changed files with 3 additions and 1 deletions
|
@ -263,6 +263,8 @@ class DisplayBlock
|
|||
/** @var string */
|
||||
public $raw_content;
|
||||
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* @param RegisteredBlock $block
|
||||
*/
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<ul>{strip}
|
||||
{foreach from=$block->data item=link}
|
||||
{if is_array($link)}
|
||||
<li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a>{if isset($link.COUNTER)} ({$link.COUNTER}){/if}</li>
|
||||
<li><a href="{$link.URL}"{if isset($link.TITLE)} title="{$link.TITLE}"{/if}{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a>{if isset($link.COUNTER)} ({$link.COUNTER}){/if}</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/strip}</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue