Update getnotes.php

Basically just a syntactical change from getmessages