if target does not exist, check for add grant on the parent



git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6197 7882d7ee-46e0-0310-a255-a28a61b628e4
whitespace fixes



git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6198 7882d7ee-46e0-0310-a255-a28a61b628e4