Commit 9cbb4c79 authored by Lionel VEST's avatar Lionel VEST
Browse files

*

parent bf478d6c
......@@ -13,7 +13,7 @@ function read($connection,$input)
$query = substr($query ,0,-5) . (@$input->body->settings?')':'');
$settings = $connection->prepare($query);
$settings->bindValue(':user', $input->user, PDO::PARAM_STR);
$settings->bindValue(':user', $input->body->user, PDO::PARAM_STR);
$settings->bindValue(':module', $input->body->module, PDO::PARAM_STR);
if (@$input->body->settings)
foreach ($input->body->settings as $setting)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment