From 7d72aa15ad84a9f8e6aa9e4e07b5d7b9a1d1b221 Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 3 Aug 2022 11:03:29 +0800 Subject: [PATCH] fix sending from non dataobject source --- Pman/Roo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pman/Roo.php b/Pman/Roo.php index d22fdae..7335b3d 100644 --- a/Pman/Roo.php +++ b/Pman/Roo.php @@ -539,7 +539,7 @@ class Pman_Roo extends Pman // 'fillBlank' => 'gray', // set ); //die('here'); - if (method_exists($this->do, 'toSimpleExcelColumn')) { + if (!empty($this->do) && method_exists($this->do, 'toSimpleExcelColumn')) { $add = $this->do->toSimpleExcelColumn($add); } -- 2.39.2