fix add child button displayed on details pane when user has no permissi...

[``* `#15888 ` fix add child button displayed on details pane when user has no permissions to add work packages``](http://www.openproject.org/work_packages/15888)
Use `&&` instead of `and`.