Fix if statement at doc for uploadable
Merge pull request #627 from spolischook/fixdoc

Fix if statement at doc for uploadable