@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | */ |
135 | 135 | protected function addIndexColumn($data) |
136 | 136 | { |
137 | - $indexColumn = config('datatables.index_column', 'DT_RowIndex'); |
|
137 | + $indexColumn = config('datatables.index_column', 'DT_RowIndex'); |
|
138 | 138 | |
139 | 139 | if ($this->includeIndex) { |
140 | 140 | $data[$indexColumn] = ++$this->start; |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | protected function shouldEscapeColumn($key) |
263 | 263 | { |
264 | 264 | if ($this->escapeColumns === '*') { |
265 | - return ! in_array($key, $this->rawColumns); // escape if is not a raw column |
|
265 | + return !in_array($key, $this->rawColumns); // escape if is not a raw column |
|
266 | 266 | } elseif (is_array($this->escapeColumns)) { |
267 | 267 | return in_array($key, array_diff($this->escapeColumns, $this->rawColumns)); |
268 | 268 | } else { |