projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 5187: Displaying the list of suppliers in the void part is either wrong or buggy...
[fa-stable.git]
/
includes
/
ui
/
ui_lists.inc
diff --git
a/includes/ui/ui_lists.inc
b/includes/ui/ui_lists.inc
index 417d6032f4185190797cd0e08423b1b2d42692cc..5ca6a49d4c84da915ff56dcc4c3e8b85b173fcd8 100644
(file)
--- a/
includes/ui/ui_lists.inc
+++ b/
includes/ui/ui_lists.inc
@@
-150,7
+150,7
@@
$opts = array( // default options
foreach($opts['search'] as $i=> $s)
$opts['search'][$i] = $s . " LIKE "
.db_escape(($class=='combo3' ? '' : '%').$txt.'%');
foreach($opts['search'] as $i=> $s)
$opts['search'][$i] = $s . " LIKE "
.db_escape(($class=='combo3' ? '' : '%').$txt.'%');
- $opts['where'][] = '('. implode(
$opts['search'], ' OR '
) . ')';
+ $opts['where'][] = '('. implode(
' OR ', $opts['search']
) . ')';
}
}
}
}
}
}