Photoslider: Fix a PHP warning.
Photoslider: Fix more PHP warnings.