projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fbc0a32
)
Add transmitted parameter to info responses
author
Joey Schulze
<joey@infodrom.org>
Wed, 10 Mar 2010 20:08:24 +0000
(21:08 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 10 Mar 2010 20:08:24 +0000
(21:08 +0100)
ajax/ajax.php
patch
|
blob
|
history
diff --git
a/ajax/ajax.php
b/ajax/ajax.php
index
2919669
..
69f1167
100644
(file)
--- a/
ajax/ajax.php
+++ b/
ajax/ajax.php
@@
-268,7
+268,8
@@
function get_infos($mask)
while (preg_match('/\{([^\}]*)\}/', $sql, $matches))
$sql = str_replace('{'.$matches[1].'}', $_POST[$matches[1]], $sql);
- return array('info' => query_db($sql));
+ return array('info' => query_db($sql),
+ 'parameter' => $_POST);
}
if (empty($_POST['func']))