OSB enhancements to date
This commit is contained in:
@@ -404,7 +404,7 @@ function osb_html_menu_product_host($params,&$smarty) {
|
||||
$id = $params['name'];
|
||||
|
||||
$db = &DB();
|
||||
$result = $db->Execute(sqlSelect($db,'product','id,sku',sprintf('host=1 AND active=1 AND price_type=1 AND id!%s',$params['exclude'])));
|
||||
$result = $db->Execute(sqlSelect($db,'product','id,sku',sprintf('host=1 AND active=1 AND price_type=1 AND id!=%s',$params['exclude'])));
|
||||
if ($result && $result->RecordCount()) {
|
||||
printf('<select id="%s" name="%s[]" size="%s" multiple="multiple">',$id,$params['name'],$params['size']);
|
||||
while(!$result->EOF) {
|
||||
|
Reference in New Issue
Block a user