فهرست منبع

Merge pull request #1040 from DenisGorbachev/patch-3

Fixed variable name
Thomas 12 سال پیش
والد
کامیت
8d2f38fd26
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

+ 2 - 2
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

@@ -58,8 +58,8 @@ class AddDependencyCallsCompilerPass implements CompilerPassInterface
                 $admins[] = $id;
                 $classes[$arguments[1]] = $id;
 
-                $showInDashBord = (boolean)(isset($attributes['show_in_dashboard']) ? $attributes['show_in_dashboard'] : true);
-                if (!$showInDashBord) {
+                $showInDashboard = (boolean)(isset($attributes['show_in_dashboard']) ? $attributes['show_in_dashboard'] : true);
+                if (!$showInDashboard) {
                     continue;
                 }