Skip to content

Presenter: fixed creating link with required persistent parameters#148

Merged
dg merged 1 commit intonette:masterfrom
JanTvrdik:pr/fix_missing_args_filled_from_persistent
Jul 27, 2016
Merged

Presenter: fixed creating link with required persistent parameters#148
dg merged 1 commit intonette:masterfrom
JanTvrdik:pr/fix_missing_args_filled_from_persistent

Conversation

@JanTvrdik
Copy link
Contributor

No description provided.

UI\Presenter::argsToParams($class, $method, $params);
UI\Presenter::argsToParams($class, $method, $params, [], $missing);
if ($missing) {
$argName = key($missing);
Copy link
Member

@dg dg Jul 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be shorten to list($argName, $rm) = each($missing)

@dg
Copy link
Member

dg commented Jul 27, 2016

👍

@dg dg merged commit d6b1ed5 into nette:master Jul 27, 2016
@JanTvrdik JanTvrdik deleted the pr/fix_missing_args_filled_from_persistent branch July 27, 2016 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants