Commit 94506230 authored by Josh Campbell's avatar Josh Campbell

Added return false on update and delete method

parent bcfe3fa4
......@@ -186,8 +186,8 @@ class MysqliDB {
$stmt->execute();
$this->reset();
if ($stmt->affected_rows)
return true;
($stmt->affected_rows) ? $result = true : $result = false;
return $result;
}
/**
......@@ -203,8 +203,8 @@ class MysqliDB {
$stmt->execute();
$this->reset();
if ($stmt->affected_rows)
return true;
($stmt->affected_rows) ? $result = true : $result = false;
return $result;
}
/**
......
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