mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-09-14 00:33:41 +02:00
fix: use isset() when checking table property value
This commit is contained in:
parent
0e367f797f
commit
6d0647530e
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue