From: Joey Schulze Date: Wed, 10 Mar 2010 20:08:24 +0000 (+0100) Subject: Add transmitted parameter to info responses X-Git-Tag: 2010-06-02_customer~62 X-Git-Url: https://git.infodrom.org/?p=misc%2Fkostenrechnung;a=commitdiff_plain;h=0038bc09121415e4d10e8134b4d3d5cbb752f98b Add transmitted parameter to info responses --- diff --git a/ajax/ajax.php b/ajax/ajax.php index 2919669..69f1167 100644 --- 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']))