Jump to content
TNG Community
Jan Suhr

Note and sources marked as PRIVATE

Recommended Posts

XerxX

Jan, try to make the $variables global inside the function:

global $allow_edit, $allow_add, $allow_delete, $assignedtree;

HTH

Erik

Share this post


Link to post
Share on other sites
Michel KIRSCH

OK. I'm too late !

Michel

global $allow_edit, $allow_add, $allow_delete, $assignedtree

Share this post


Link to post
Share on other sites
Jan Suhr

Thank you guys, I haven't worked much with functions in PHP and I now see that there are some global variables already assigned to this function.

And now it works!

Thanks you learn stuff as long as you live 😁

Share this post


Link to post
Share on other sites
Jan Suhr

I have now got my little PRIV tag konverter that will add a ~ to the TITL if there is a PRIV in a source or note.

I'm not sure if it will work for any GEDCOM's from other programs than Mac Family Tree.


Diedrich Hesmer is a Gedcom-guru and his utilities for cleaning up or change Gedcoms are awesome. http://ofb.hesmer.name/index_e.html
And he can do special programs on requests like in this case for me.

Snag_cadb28f.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×