From 534b578038ce00c1ba75e88f87c1bb06cffd9573 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 01 Nov 2025 15:18:49 +0800
Subject: [PATCH] 超链接添加添加名片链接

---
 admin/app/common/service/business/Poster.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/app/common/service/business/Poster.php b/admin/app/common/service/business/Poster.php
index 2296aaa..8546466 100644
--- a/admin/app/common/service/business/Poster.php
+++ b/admin/app/common/service/business/Poster.php
@@ -324,11 +324,11 @@
             while ($width < ($titleNum * $this->config['address'][0]['fontSize'] + $the_box + $fontX)) {
                 $titleNum--;
             };
-            if ($strlen > $titleNum && $titleNum) {
+            if ($strlen > $titleNum && $titleNum>0) {
                 $strArr = self::mbStrSplit($title, $titleNum);
             }
             $colorResource=self::colorResource($this->config['address'][0]['color'],$editor);
-            if ($strlen > $titleNum && $titleNum) {
+            if ($strlen > $titleNum && $titleNum>0) {
                 $y = $fontY + 10;
                 foreach ($strArr as $k => $v) {
                     if ($k == 0) {

--
Gitblit v1.9.2