Skip to content

Conversation

zploskey
Copy link
Contributor

There seems to have been an extra argument left in the call here. We have been passing 0 for $sort and $requireIsPublished as 'order'.

The function signature should match:
simple_pages_get_links_for_children_pages($parentId = null, $sort = 'order', $requiresIsPublished = false)

@zerocrates zerocrates merged commit 24370b8 into omeka:master Dec 21, 2016
@zerocrates
Copy link
Member

I suppose the truthiness of 'order' masked the problem pretty effectively.

Daniel-KM added a commit to Daniel-KM/Omeka-plugin-SimplePages that referenced this pull request Jan 2, 2017
@zploskey zploskey deleted the fixArgs branch January 20, 2017 07:33
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