Update ext.publisher_low_search.php

I've encountered some errors with the latest version of Publisher and the Low Search extension.

This is what I *think* is a correct fix. Am I right?