Skip to content

Commit 8bb2852

Browse files
authored
Correcting config call in isCallbackFunction
1 parent 77cf7e6 commit 8bb2852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Html/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function parameterize($attributes = [])
161161
*/
162162
protected function isCallbackFunction($value, $key)
163163
{
164-
return Str::startsWith(trim($value), config('datatables-html.callback', ['$', '$.', 'function'])) || Str::contains($key, 'editor');
164+
return Str::startsWith(trim($value), $this->config->get('datatables-html.callback', ['$', '$.', 'function'])) || Str::contains($key, 'editor');
165165
}
166166

167167
/**

0 commit comments

Comments
 (0)