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

Second value returned by children() changed in 0.13 [rt.cpan.org #123713] #24

Open
atoomic opened this issue Jan 3, 2019 · 1 comment
Labels

Comments

@atoomic
Copy link
Collaborator

atoomic commented Jan 3, 2019

Migrated from rt.cpan.org#123713 (status was 'new')

Requestors:

Attachments:

From tim@cpanel.net on 2017-11-22 19:38:13
:

In 0.12 the children() function used to return the id of the folder as the second value as described in the docs:
my( $children, $parent ) = $gd->children( "/path/to" );
If the caller now wants to e.g. insert a file into the directory, its ID is available in $parent.

In 0.13 it now returns the id of the parent of the folder, instead.  The attached patch changes it to behave as it did before.


@atoomic
Copy link
Collaborator Author

atoomic commented Jan 3, 2019

PR #14 is fixing that

@atoomic atoomic added the bug label Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant