Fixes #758 $this->pmid in datahandlers/pm.php

FIxes #758