From da1210cfceacd4527316074165af9e50b4934d60 Mon Sep 17 00:00:00 2001 From: Fabian Schieder Date: Tue, 31 Mar 2026 00:28:42 +0200 Subject: [PATCH] Refactor ad description handling for improved compatibility and readability in ad_recommendation.php --- ad_recommendation.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ad_recommendation.php b/ad_recommendation.php index fa180da..5aaceeb 100644 --- a/ad_recommendation.php +++ b/ad_recommendation.php @@ -166,7 +166,11 @@ if ($stmt && $stmt->num_rows > 0) {
Empfehlung des Tages

-

120) ? mb_substr($rDesc, 0, 120) . '...' : $rDesc ?>

+ 120 ? (function_exists('mb_substr') ? mb_substr($rDesc, 0, 120) : substr($rDesc, 0, 120)) . '...' : $rDesc; + ?> +

Jetzt ansehen ›