Update query.php

fixed.
Try this.