include/classes/share.class.php 1 location
|
@@ 54-56 (lines=3) @@
|
51 |
|
$sql .= " WHERE id = ? LIMIT 1"; |
52 |
|
$this->addParam('i', $id); |
53 |
|
$stmt = $this->mysqli->prepare($sql); |
54 |
|
if ($this->checkStmt($stmt) && call_user_func_array( array($stmt, 'bind_param'), $this->getParam()) && $stmt->execute()) |
55 |
|
return true; |
56 |
|
return $this->sqlError(); |
57 |
|
} |
58 |
|
|
59 |
|
/** |
include/classes/transaction.class.php 1 location
|
@@ 86-88 (lines=3) @@
|
83 |
|
$sql .= " GROUP BY t.type"; |
84 |
|
$stmt = $this->mysqli->prepare($sql); |
85 |
|
if (!empty($account_id)) { |
86 |
|
if (!($this->checkStmt($stmt) && call_user_func_array( array($stmt, 'bind_param'), $this->getParam()) && $stmt->execute())) |
87 |
|
return false; |
88 |
|
$result = $stmt->get_result(); |
89 |
|
} else { |
90 |
|
if (!($this->checkStmt($stmt) && $stmt->execute())) |
91 |
|
return false; |