fix: use isset() when checking table property value

This commit is contained in:
Victor Westerlund 2025-08-30 09:47:45 +02:00
parent 0e367f797f
commit 6d0647530e
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -35,7 +35,7 @@
*/ */
private function throw_if_no_table() { private function throw_if_no_table() {
if (!$this->table) { if (!isset($this->table)) {
throw new Exception("No table name defined"); throw new Exception("No table name defined");
} }
} }