From cc9d0e0b7faa51e684f13f93edbfb0d49b7f6fb1 Mon Sep 17 00:00:00 2001 From: junmt <12598156+junmt@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:03:53 +0900 Subject: [PATCH] =?UTF-8?q?[PHP8=E5=AF=BE=E5=BF=9C]=20=E3=83=91=E3=82=B9?= =?UTF-8?q?=E3=83=AF=E3=83=BC=E3=83=89=E5=86=8D=E8=A8=AD=E5=AE=9A=E6=99=82?= =?UTF-8?q?=E3=81=AE=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#1086)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jun Matsuda <{ID}+{username}@users.noreply.github.com> --- modules/Vtiger/helpers/ShortURL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Vtiger/helpers/ShortURL.php b/modules/Vtiger/helpers/ShortURL.php index 7c9381658..b094b5fd0 100644 --- a/modules/Vtiger/helpers/ShortURL.php +++ b/modules/Vtiger/helpers/ShortURL.php @@ -85,7 +85,7 @@ static function sendTrackerImage() { echo base64_decode('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII='); } - function getInstance($id) { + static function getInstance($id) { $db = PearDatabase::getInstance(); $self = new self(); $rs = $db->pquery('SELECT * FROM vtiger_shorturls WHERE uid=?', array($id));