diff --git a/src/MySQL.php b/src/MySQL.php index a7deac6..b30ac5a 100644 --- a/src/MySQL.php +++ b/src/MySQL.php @@ -35,7 +35,7 @@ */ private function throw_if_no_table() { - if (!$this->table) { + if (!isset($this->table)) { throw new Exception("No table name defined"); } }