|
@@ -691,7 +691,7 @@ |
|
|
block discarded – undo |
|
691
|
691
|
if (!function_exists('getActionColumn')) { |
|
692
|
692
|
function getActionColumn($datatable, $can_edit, $can_delete, $can_restore, $can_force_delete, $trash) |
|
693
|
693
|
{ |
|
694
|
|
- $datatable->addColumn('action', function ($row) use ($can_edit, $can_delete, $can_restore, $can_force_delete, $trash) { |
|
|
694
|
+ $datatable->addColumn('action', function($row) use ($can_edit, $can_delete, $can_restore, $can_force_delete, $trash) { |
|
695
|
695
|
if ($trash) { |
|
696
|
696
|
return trashActionLinks($row, $can_restore, $can_force_delete); |
|
697
|
697
|
} else { |
Please login to merge, or discard this patch.