This should be `$vs_limit = "$vn_limit, $vn_offset";` but also, this whole section could be rewritten as:

````
$vs_limit = $vn_limit ? (" LIMIT " . ($vn_offset ? "$vn_limit, $vn_offset" : $vn_limit)) : "";
````