projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1a913
)
Recalculate the query in case it contains session variables
author
Joey Schulze
<joey@infodrom.org>
Sat, 27 Feb 2010 17:16:35 +0000
(18:16 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Sat, 27 Feb 2010 17:16:35 +0000
(18:16 +0100)
ajax/ricoXMLquery.php
patch
|
blob
|
history
diff --git
a/ajax/ricoXMLquery.php
b/ajax/ricoXMLquery.php
index
1886515
..
e8a9f74
100644
(file)
--- a/
ajax/ricoXMLquery.php
+++ b/
ajax/ricoXMLquery.php
@@
-32,6
+32,10
@@
if (empty($id)) {
} elseif (!OpenDB()) {
\r
ErrorResponse(htmlspecialchars($oDB->LastErrorMsg));
\r
} else {
\r
+ $fname = substr($id,5);
\r
+ load_mask($fname);
\r
+ grid_sql($fname, $mask);
\r
+
\r
$filters=isset($_SESSION[$id . ".filters"]) ? $_SESSION[$id . ".filters"] : array();
\r
$oDB->DisplayErrors=false;
\r
$oDB->ErrMsgFmt="MULTILINE";
\r