|
|
@@ -587,7 +587,7 @@ abstract class SqlHelper
|
|
|
if ($where) $sql .= " WHERE $where ";
|
|
|
if ($order) $sql .= " ORDER BY $order ";
|
|
|
if ($limit) $sql .= " LIMIT $limit ";
|
|
|
- var_dump($sql);
|
|
|
+
|
|
|
$result = $this->db->update($sql, array_values($data));
|
|
|
|
|
|
if ($result === FALSE) {
|
|
|
@@ -605,6 +605,7 @@ abstract class SqlHelper
|
|
|
protected function query($sql)
|
|
|
{
|
|
|
if(!empty($sql)){
|
|
|
+ var_dump($sql);
|
|
|
$result = $this->db->query($sql);
|
|
|
if($result === false){
|
|
|
$this->error = $this->db->error();
|