From: Alan Date: Wed, 3 Aug 2022 03:03:29 +0000 (+0800) Subject: fix sending from non dataobject source X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=7d72aa15ad84a9f8e6aa9e4e07b5d7b9a1d1b221 fix sending from non dataobject source --- 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); }