Pman/Roo.php wip_alan_T5884_add_photo_to_report
authorAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 08:50:45 +0000 (16:50 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 08:50:45 +0000 (16:50 +0800)
Pman/Roo.php

index f1e5647..7fdb8f6 100644 (file)
@@ -479,7 +479,7 @@ class Pman_Roo extends Pman
                         );
                         //die('here');
                         if (method_exists($data, 'toSimpleExcelColumn')) {
-                            $add = $data->toSimpleExcelColumn($col);
+                            $add = $data->toSimpleExcelColumn($add);
                         } 
                         
                         $se_config['cols'][] = $add;
@@ -538,7 +538,7 @@ class Pman_Roo extends Pman
                     );
                     //die('here');
                     if (method_exists($this->do, 'toSimpleExcelColumn')) {
-                        $add = $this->do->toSimpleExcelColumn($col);
+                        $add = $this->do->toSimpleExcelColumn($add);
                     } 
                     
                     $se_config['cols'][] = $add;