Bug fixed (php 5.3 compitable)

After upgrading PHP to 5.3 this misprint has made the script not working.