|
|
@@ -1624,7 +1624,7 @@ class Fullorderexcel extends Start_Controller {
|
|
|
{
|
|
|
$wid .= " id = '$v' or";
|
|
|
}
|
|
|
- $wid = " and".rtrim($wid,'or');
|
|
|
+ $wid = " and (".rtrim($wid,'or').") ";
|
|
|
}
|
|
|
$fexcel = $this->input->get('fexcel',true);
|
|
|
$page = $this->input->get('page',true);
|