Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed guid #3

Merged
merged 3 commits into from
Feb 25, 2016
Merged

Changed guid #3

merged 3 commits into from
Feb 25, 2016

Conversation

DavyDeCoster
Copy link
Contributor

Changed guid so it support the corrent use of isPermalink

Davy De Coster added 2 commits February 25, 2016 15:49
Changed guid so it support the corrent use of isPermalink
@dereuromark
Copy link
Owner

Looks good to me!

@@ -310,7 +310,9 @@ protected function _prepareOutput($item) {
}
$val = $attrib;
} elseif (is_array($val) && isset($val['url'])) {
$val['url'] = Router::url($val['url'], true);
if (!isset($val['@isPermalink']) || $val['@isPermalink'] === "true") {
Copy link
Owner

Choose a reason for hiding this comment

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

I wonder if we should use $val['@isPermalink'] !== "false" here instead as the current default is true anyway (if you dont include a @isPermalink key.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will change it

dereuromark added a commit that referenced this pull request Feb 25, 2016
@dereuromark dereuromark merged commit 292554d into dereuromark:master Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants