@@ -230,7 +230,7 @@ |
||
| 230 | 230 | } |
| 231 | 231 | return implode(' ', $result); |
| 232 | 232 | } |
| 233 | - return preg_replace_callback('/\\{([\w\-\/]+)\\}/', function ($matches) use ($user) { |
|
| 233 | + return preg_replace_callback('/\\{([\w\-\/]+)\\}/', function($matches) use ($user) { |
|
| 234 | 234 | return static::checkRoute($matches[1], [], $user) ? "{{$matches[1]}}" : ''; |
| 235 | 235 | }, $buttons); |
| 236 | 236 | } |