Skip to content

Commit 3b4f30a

Browse files
committed
Use better default for setColumnFunction
1 parent 3e50c97 commit 3b4f30a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spoon/datagrid/datagrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ public function setColumnConfirm($column, $message, $custom = null)
14791479
* @param mixed $columns The columns wherein the result will appear.
14801480
* @param bool[optional] $overwrite Should the result overwrite the current value?
14811481
*/
1482-
public function setColumnFunction($function, $arguments = null, $columns = [], $overwrite = false)
1482+
public function setColumnFunction($function, $arguments = null, $columns = null, $overwrite = false)
14831483
{
14841484
// has results
14851485
if($this->source->getNumResults() > 0)

0 commit comments

Comments
 (0)