commit cafb4aeb135367ccd0d1fd208f02b9de8734eeda
parent c9819ac7f4d7dda0160a43ee73dd0cce33c6b3ac
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 18 Mar 2015 21:08:27 +0100
debug bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php
@@ -247,7 +247,7 @@ class DbHandler {
echo "id!=null";
$stmt = $this->conn->prepare("SELECT id,title,text,author,category,date FROM posts WHERE id = ?");
$stmt->bind_param("i", $post_id);
- echo $stmt;
+ print_r($stmt);
if ($stmt->execute()) {
$post = $stmt->get_result()->fetch_assoc();
$stmt->close();