@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | return true; |
249 | 249 | } |
250 | 250 | |
251 | - public static function getOptionsList($inputParams, $params = [], $modelName = '', $aditionalInputNamePrefix = 'aditional', $options = [],$model=false) { |
|
251 | + public static function getOptionsList($inputParams, $params = [], $modelName = '', $aditionalInputNamePrefix = 'aditional', $options = [], $model = false) { |
|
252 | 252 | $values = []; |
253 | 253 | switch ($inputParams['source']) { |
254 | 254 | case 'model': |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | break; |
260 | 260 | case 'method': |
261 | 261 | if (!empty($inputParams['params'])) { |
262 | - $values = call_user_func_array([\App::$cur->{$inputParams['module']}, $inputParams['method']], $inputParams['params']+[$model]); |
|
262 | + $values = call_user_func_array([\App::$cur->{$inputParams['module']}, $inputParams['method']], $inputParams['params'] + [$model]); |
|
263 | 263 | } else { |
264 | 264 | $values = \App::$cur->{$inputParams['module']}->{$inputParams['method']}($model); |
265 | 265 | } |