@@ -129,7 +129,7 @@ |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | Craft::$app->getView()->registerAssetBundle(CpFieldInspectBundle::class); |
| 132 | - Craft::$app->getView()->registerJs('Craft.CpFieldInspectPlugin.init('.json_encode($data).');'); |
|
| 132 | + Craft::$app->getView()->registerJs('Craft.CpFieldInspectPlugin.init(' . json_encode($data) . ');'); |
|
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |