Update query.php

$formvalue may cause a warning "Array to string conversion in  /helper/query.php  on line 328"