Fixed missing retcode function
Merge pull request #1756 from rkj/master

Fixed missing retcode if you tried to use themes/rkj