removed the debug lines
This commit is contained in:
parent
6eed2f8b5f
commit
8cd6d9182a
|
@ -353,7 +353,6 @@ function insertRow($conn, $tbname, $inputs, &$r = null, $api = INSERT_QUERY)
|
|||
} else {
|
||||
// if AE is enabled, must bind param
|
||||
$insertSql = getInsertSqlPlaceholders($tbname, $inputs);
|
||||
echo $insertSql . "\n";
|
||||
$params = array();
|
||||
foreach ($inputs as $key => $input) {
|
||||
if (is_object($input)) {
|
||||
|
@ -363,8 +362,6 @@ function insertRow($conn, $tbname, $inputs, &$r = null, $api = INSERT_QUERY)
|
|||
}
|
||||
}
|
||||
|
||||
var_dump($params);
|
||||
|
||||
// use prepare for inserts when AE is enabled
|
||||
$stmt = sqlsrv_prepare($conn, $insertSql, $params);
|
||||
$r = sqlsrv_execute($stmt);
|
||||
|
|
Loading…
Reference in a new issue