Update mcp.rest.php

Fixes a current warning in EE 2.6.1
Merge pull request #7 from komtur/master

Fixes warning in EE 2.6.1