projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b57e35
)
Fixed sql_gen method for multiply extra where clauses.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Thu, 11 Nov 2010 09:58:06 +0000
(09:58 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Thu, 11 Nov 2010 09:58:06 +0000
(09:58 +0000)
includes/db_pager.inc
patch
|
blob
|
history
diff --git
a/includes/db_pager.inc
b/includes/db_pager.inc
index 1629c47a000aeb7a9fd90a1033a1258a644afb83..64a79eda8e633cd4316147599bc1be0062fa0346 100644
(file)
--- a/
includes/db_pager.inc
+++ b/
includes/db_pager.inc
@@
-260,7
+260,7
@@
class db_pager {
if(count($this->extra_where)) {
$where .= ($where=='' ? '' : ' AND ')
- .implode(
$this->extra_where, ' AND '
);
+ .implode(
' AND ', $this->extra_where
);
}
if ($where) $where = " WHERE ($where)";