Closed afortiexchange closed 5 years ago
master
When I follow those steps, I see...
Warning in_array() expects parameter 2 to be array, null given 1227 $isNoExport = in_array($key, $this->noExportColumns) || !in_array($key, $this->selectedColumns);
I was expecting...
See working widget. ;-) I suppose default value for $selectedColumns property in kartik\export\ExportMenu shoukd be empty array.
vendor/kartik-v/yii2-export/src/ExportMenu.php:256 public $selectedColumns = [];
Duplicate to and resolved via #284.
Prerequisites
master
branch of yii2-export.Steps to reproduce the issue
Expected behavior and actual behavior
When I follow those steps, I see...
Warning in_array() expects parameter 2 to be array, null given 1227 $isNoExport = in_array($key, $this->noExportColumns) || !in_array($key, $this->selectedColumns);
I was expecting...
See working widget. ;-) I suppose default value for $selectedColumns property in kartik\export\ExportMenu shoukd be empty array.
vendor/kartik-v/yii2-export/src/ExportMenu.php:256 public $selectedColumns = [];
Environment
php 7.2.7-1+0~20180622080852.23+jessie~1.gbpfd8e2e Linux vbox 3.16.0-5-686-pae #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) i686
Browsers
Operating System
Libraries
Isolating the problem