fly 4 سال پیش
والد
کامیت
08d0c9b812
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      src/Controllers/BaseControllerConfig.php

+ 3 - 0
src/Controllers/BaseControllerConfig.php

@@ -52,6 +52,9 @@ trait BaseControllerConfig
                 case 'phone':
                     $this->field[$name] = $this->getLogPhone();
                     break;
+                default:
+                    $this->field[$name] = $this->$name();
+                    break;
             }
         }
         return $this->field[$name];