Skip to content

Commit

Permalink
Include SQL parameters in debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed May 21, 2015
1 parent 9f67296 commit 14c100d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/includes/mysql.php
Expand Up @@ -123,7 +123,7 @@ public function query($sql="", $params = NULL) {
}

twfy_debug ("SQL", $sql);

twfy_debug ("SQL", print_r($params, 1));

if ($params !== NULL) {
// Prepare and execute a statement
Expand Down

0 comments on commit 14c100d

Please sign in to comment.