- Issue created by @tim-diels
- 🇮🇳India abhishek@kumar
public function renderMoreLink() { if (!empty($this->options['more_link']) && !empty($this->options['more_link_path'])) { try { $url = $this->getMoreUrl(); // Continue with link generation... } catch (\InvalidArgumentException $e) { // Optionally log warning here. return []; } } return []; }
- Merge request !39views_block_override-3518995 : Solved empty more link issue . → (Merged) created by sourabhsisodia_
- 🇧🇪Belgium tim-diels Belgium 🇧🇪
The provided code did so much more then just a simple check. I switched the url and text overrides and in only did the text override when the use_more option is TRUE.
-
tim-diels →
committed 7094eab9 on 1.2.x authored by
sourabhsisodia_ →
Issue #3518995 by tim-diels: Error when only entering a title for the...
-
tim-diels →
committed 7094eab9 on 1.2.x authored by
sourabhsisodia_ →